Author Topic: Adding custom field to a product that already has multivariants and children  (Read 269 times)

bryanearl

  • Beginner
  • *
  • Posts: 33
  • Web Design and SEO / SMO
    • Bryan Earl Web Design
I have created a product that has 10 children using "generic" type. Then, I have 120 children under each of those using "multivariants" type. Everything works as planned.

My question is... I want to now add an option that will appear on that product, regardless of what child the user is currently viewing for something like "add a set of xxxxx for only $1.99 extra!".

Can I do that without creating more child variants? Is there a type of custom field I should use that allows me to set a price increase and can be visible no matter the child?

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3389
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
You have to set the customfield in the parent or in the 1st child level, it depend your need, the field should be inherited in all children.
Vm only can render ratio button or list, but you can use value Yes/No for eg. or you can modify the render with CSS or javascript if you have some knwledge

bryanearl

  • Beginner
  • *
  • Posts: 33
  • Web Design and SEO / SMO
    • Bryan Earl Web Design
Perfect, thank you! I was able to set it up using a custom field as type "string" with options and price points.