VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: nkamp on June 08, 2018, 22:42:25 PM

Title: Three custom fields which are mandatory before the customer can press add to car
Post by: nkamp on June 08, 2018, 22:42:25 PM
Hello,

I saw the vm demo and I thought that's were I'm looking for the multi variant. But maybe I don't understand I hope that don't need to create child products because I have three options for the custormer.
first one: is a lenght of a dog leash from 31, 32, 33 .... 78 cm.
second: color of the leash: red, black, green.
Third: pins 12mm, 15mm, 21 mm.

If understand it well with a multivariant than I have to create 47 * 3 * 3 = 423 child products? that is not to maintain. for the price it make no difference and the stock information for these different combination is not important.

The important thing is that the customer has to decide all the three options, before he press the add to cart button.

I hope that it is possible to create one product with these three options. And let say all three starts with Select length, Select color, Select pin.
Step 1: If the customer select a length, than he can choose the color and the pin length.
Step 2 the customer select these a color and the pin length.
Step 3: after he has selected all three a value, the add to cart button becomes available.

Is that possible?

Nico
Title: Re: Three custom fields which are mandatory before the customer can press add to car
Post by: Studio 42 on June 09, 2018, 00:24:24 AM
Do you need to manage the stock for all this options or not?
Title: Re: Three custom fields which are mandatory before the customer can press add to car
Post by: nkamp on June 09, 2018, 17:02:24 PM
No it is not necessary to manage stock for all this options.
Title: Re: Three custom fields which are mandatory before the customer can press add to car
Post by: Studio 42 on June 09, 2018, 19:46:17 PM
You need to show/hide by step the options and add to cart using javascript.
Title: Re: Three custom fields which are mandatory before the customer can press add to car
Post by: nkamp on June 11, 2018, 22:27:32 PM
Quote from: Studio 42 on June 09, 2018, 19:46:17 PM
You need to show/hide by step the options and add to cart using javascript.

Maybe it is stupid from me, but I don't know exactly what you mean by that. Must I configure this at the custom fields or the product itself? If custom field what kind of type do you mean?

I have used string before but with this the cliƫnt can order without selecting a custom field value.
I have been trying/studying with the multi variant.

Or do you have a screenshot?

Nico
Title: Re: Three custom fields which are mandatory before the customer can press add to car
Post by: anantmaks on June 12, 2018, 07:16:15 AM
Until you require the stock to be managed based on each variant, simply custom fields can be used to achieve this. If you want to use them, you can check this:
https://forum.virtuemart.net/index.php?topic=140344

Moreover, if you want the stock to be managed based on custom field(s), there is an add-on extension available for that i.e., Stockable custom field
Title: Re: Three custom fields which are mandatory before the customer can press add to car
Post by: Studio 42 on June 12, 2018, 09:47:33 AM
You can use my plugin https://shop.st42.fr/en/products/shortcodes.htm
See demo for your case http://pro.st42.fr/en/shortcodes/dog-leash.html
And it suppport Cart colors and percentage price calculation
Title: Re: Three custom fields which are mandatory before the customer can press add to car
Post by: balai on June 15, 2018, 12:40:14 PM
Did you check Custom Fields For All?
https://breakdesigns.net/extensions/customfields-for-all