News:

Looking for documentation? Take a look on our wiki

Main Menu

Child products made with MultiVariants Custom Field

Started by morphic, October 19, 2018, 11:12:33 AM

Previous topic - Next topic

morphic

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

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

Is there any solution or tutorial how to do that?

Studio 42

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

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

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

The problem is exactly same as in multichild
You have set the price in each product ?

balai

If that's  the case why not using simple custom fields using their price field?

morphic

Quote from: balai 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

What free, I must buy subsription? :D

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation


morphic

Thanks guys,

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


Studio 42