VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: kmedri on November 13, 2017, 11:32:06 AM

Title: Parent and children as sizes
Post by: kmedri on November 13, 2017, 11:32:06 AM
Hi,
VM3.2.4 Joomla! 3.8.2
I have a product that comes in different sizes.
I have added the product and created a custom field of type multi variant and called it Size
I have then chosen the custom field Size in the product and selected Use Custom Label and called it Size, I then added the sizes in the box, 38, 39, 40 etc all on new lines
I can then see the Ramification box with my parent product which has greyed out fields. I select the lowest size for the parent product in the Use Custom Label dropdown of 38
I have then selected Use Custom Label and clicked on Create Child Product
This then creates a child product below and I can add one of the sizes from the drop down, 39 then repeated this for all sizes
I then save
On the front end I can see my new product with a custom field Sizes with a drop down of the sizes.
If I choose one of the sizes it reloads the page with the child product and its size
If I then look at the custom field Size, I can no longer see the parent product size in the drop down, so no way of customer changing mind except using the back button.

See https://clog.printright.co.nz/products/test-detail (https://clog.printright.co.nz/products/test-detail)

Is this normal behavior if so how can I have it so you can choose any size from the drop down even the parent size when looking at the child product.
Is it also able to change the product size without reloading the whole page..

Many thanks
Kevin
Title: Re: Parent and children as sizes
Post by: kmedri on November 22, 2017, 20:46:51 PM
I achieved this by only adding a custom field value to the child products in the multi variants, this displayed Choose a Variant button. Not figured out how to make a child variant as default yet.
Title: Re: Parent and children as sizes
Post by: GJC Web Design on November 23, 2017, 23:25:52 PM
QuoteIf I then look at the custom field Size, I can no longer see the parent product size in the drop down, so no way of customer changing mind except using the back button.

is this not the bug fixed?

Changes in VirtueMart version 3.2.6

Very important fix for multivariants, which lost in some conditions the parent option, when changing to a child.