Author Topic: Parent and children as sizes  (Read 315 times)

kmedri

  • Beginner
  • *
  • Posts: 17
Parent and children as sizes
« 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

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

kmedri

  • Beginner
  • *
  • Posts: 17
Re: Parent and children as sizes
« Reply #1 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.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 7772
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: Parent and children as sizes
« Reply #2 on: November 23, 2017, 23:25:52 pm »
Quote
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.

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.
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation