VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: kalvin on May 03, 2017, 21:58:45 PM

Title: Require Custom Fields
Post by: kalvin on May 03, 2017, 21:58:45 PM
Hello all - I have been searching and searching for an answer - VirtueMart 3.0.18.5

I have two custom fields - Size & Color - I have to have a user chose a selection before they add the product to the cart. I am just not finding any answers? I tried a $10 plugin to no avail. Please help!! Thank you!
Title: Re: Require Custom Fields
Post by: mfarooqi on May 06, 2017, 21:39:50 PM
in the left panel in VM admin view .. click
Products -> Custom Field

from the top .. hit "new".

Here fill the form as required.
Give it title as "Size"
save it, close it

Add a new custom filed

do the same process and give it title as color.
save it.

now, open that product where you need to give both options.

under the right most tab, "custom fields" , "Custom Field Type:" drop down, select "color" and give it's values and similarly select multiple times sizes and colors as many times you need.  it will appear on product view for users. 

you wasted your $10 i think.




Title: Re: Require Custom Fields
Post by: balai on May 06, 2017, 23:47:33 PM
Check the Custom Fields For All plugin
https://breakdesigns.net/extensions/customfields-for-all
Title: Re: Require Custom Fields
Post by: kalvin on May 08, 2017, 17:52:08 PM
Thanks Balai - I came across that one but the problem being can it retro fit all the products that are currently using a custom field I created? To have the user go back and reenter all their product data - yikes I don't think that will work??
Title: Re: Require Custom Fields
Post by: balai on May 09, 2017, 10:39:53 AM
Then you need a custom work to hack the way the original plugin works