× Discussion about "eCommerce" VirtueMart/Joomla template

Topic-icon Problem with the children as variant of the parent

More
4 years 7 months ago - 4 years 7 months ago #33921 by MaxMi
Hello,
after many trials with virtuemart , I realized that there is a problem with the template eCommerce in the management of product variants

The context:
1 . Parent product X
2 . Custom Field : variant child generic ( to choose the color )
3 . Child product Y
4 . The product X (the father) should not be purchased without first choose the color.

From the front end , so you can not add to cart Product X without first choose the color variant. Virtuemart alert with the message "Choose a product variant first" (COM_VIRTUEMART_ADDTOCART_CHOOSE_VARIANT) instead of the usual " Add to Cart" (COM_VIRTUEMART_CART_ADD_TO)

With the eCommerce template I noticed that is possible buy the father product ( there is always "Add to Cart " and not "Choose a product variant first") even when the variant is not select.

By activating the default template Beez_20 working properly.

Can you help me ?

thanks

Joomla 2.5.13 - Virtuemart 2.0.22b
Last edit: 4 years 7 months ago by MaxMi.

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #33926 by ivan.milic
Its strange it works with beez_20 because you need to select size to be able to buy product is that is set to work as child product.

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #33930 by MaxMi
Ivan,
I did not understand what you mean. Could you explain better? What size?

Max

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #33933 by ivan.milic
If you use "Generic Child Variant" attribute is normal you have to select child product for "Add to cart" to appear

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #33936 by MaxMi
Exactly Ivan,
that's how it should work but instead "Add to cart" also appears for the parent product even though I set that is not salable.

I did not understand why it did not work, so I tried to activate the other template and that works.

If you try to see this link www.vapori.rcaweb.it/index.php/batterie-left/ego/twist-detail (this is the site I'm building), the product Twist has 6 children and the father should not be selezinabile. You will notice, however, that the "Add To Cart" link when you get the product and if you add to cart makes you buy it.

:-(

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #33937 by ivan.milic
What happens when you rename:

templates\hot_ecommerce\html\com_virtuemart\productdetails\

to:

templates\hot_ecommerce\html\com_virtuemart\_productdetails\

Please Log in or Create an account to join the conversation.

Moderators: milos
Time to create page: 0.119 seconds