Author Topic: Child products made with MultiVariants Custom Field  (Read 1171 times)

morphic

  • Beginner
  • *
  • Posts: 28
  • A beginner
Child products made with MultiVariants Custom Field
« on: October 19, 2018, 11:12:33 am »
Hi there,

I have specific products where one product have about 180 versions. The products have two features, the combination of which affects their price that I must use Multivariants. When I've added all combinations I see all in lists on front. But after click any of them this combination don't load - I have different title, price, SKU and many others for that. But after click any value on select list it's blank list position. After refresh page good product version is loading.

There is the link to product http://materace.morphic.pl/materac-160x200/materac-bahrain-talalay-blue-h2-h3-170-opis.html

Is there any limit of child products in one product on VM3?

Edited: I see in console

dynupdate.js?vmver=21985395:32 Uncaught TypeError: $(...).vm2front is not a function
    at Object.Virtuemart.updateContent (dynupdate.js?vmver=21985395:32)
    at HTMLSelectElement.Virtuemart.upd (dynupdate.js?vmver=21985395:108)
    at HTMLSelectElement.dispatch (jquery.min.js?033f71065d37bc544343a0774c142515:3)
    at HTMLSelectElement.r.handle (jquery.min.js?033f71065d37bc544343a0774c142515:3)

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3955
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Child products made with MultiVariants Custom Field
« Reply #1 on: October 19, 2018, 11:34:52 am »
You can use generic child variant and 2 or 3 levels of child.
In this case not all child are loaded in same time and is quicker to load as multivariant
You have to declare in main product the first generic variant option and in next level the over generic variant option ...

morphic

  • Beginner
  • *
  • Posts: 28
  • A beginner
Re: Child products made with MultiVariants Custom Field
« Reply #2 on: October 19, 2018, 12:14:57 pm »
Is there any solution or tutorial how to do that?

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3955
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Child products made with MultiVariants Custom Field
« Reply #3 on: October 19, 2018, 13:01:18 pm »
Do a test product and try is the best way to understand what i mean.
Eg for product tshirt having color "black" and "white" with size "S", "M", "L"
main product : tshirt
add generic child variant to display children
level 1 children
 tshirt black
 add generic child variant to display children
 level2 children
  tshirt black S
  tshirt black M
  tshirt black L

 tshirt white
 add generic child variant to display children
 level2 children
  tshirt white S
  tshirt white M
  tshirt white L

If you already have set all products, you can use VM Be pro to change directly the parent product ID to redo the tree.

balai

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1374
Re: Child products made with MultiVariants Custom Field
« Reply #4 on: October 19, 2018, 13:09:55 pm »
Have a look at the Stockable Custom Fields as well.
https://breakdesigns.net/extensions/joomla/stockable-custom-fields

It's a free plugin and easier to use than the multi-variants

morphic

  • Beginner
  • *
  • Posts: 28
  • A beginner
Re: Child products made with MultiVariants Custom Field
« Reply #5 on: October 19, 2018, 13:38:21 pm »
Ok, but the problem is with price.

This is not that
white +$5
black +$7
size M +$3
size L +$5

I have that
white M $10
white L $15
black M $12
black L $20

this is example prizes. I don't have base price, all combinations have their own prize.

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3955
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Child products made with MultiVariants Custom Field
« Reply #6 on: October 19, 2018, 13:42:48 pm »
The problem is exactly same as in multichild
You have set the price in each product ?

balai

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1374
Re: Child products made with MultiVariants Custom Field
« Reply #7 on: October 19, 2018, 15:08:03 pm »
If that's  the case why not using simple custom fields using their price field?

morphic

  • Beginner
  • *
  • Posts: 28
  • A beginner
Re: Child products made with MultiVariants Custom Field
« Reply #8 on: October 19, 2018, 17:02:17 pm »
Have a look at the Stockable Custom Fields as well.
https://breakdesigns.net/extensions/joomla/stockable-custom-fields

It's a free plugin and easier to use than the multi-variants

What free, I must buy subsription? :D

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8940
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
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

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3955
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Child products made with MultiVariants Custom Field
« Reply #10 on: October 19, 2018, 18:24:34 pm »

morphic

  • Beginner
  • *
  • Posts: 28
  • A beginner
Re: Child products made with MultiVariants Custom Field
« Reply #11 on: October 19, 2018, 23:05:28 pm »
Thanks guys,

I'll try it and I'll back with solution or with next questions :D