News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

HELP! Cart variants not added properly if I add to cart from the Category page

Started by Spears, January 11, 2014, 23:34:07 PM

Previous topic - Next topic

Spears

Alright so to make things more clear (my wording might not be correct - my first website) I've take a couple of screen shots.

If I am viewing a category with a list of products in it and I choose to add the item to the cart directly from that category view it will not include the specific options once added to the cart:



However if I click the product to view it's dedicated product page (shown below) and then add it to the cart, the option is reflected properly in the shopping cart:




Example of the cart:




I'm using virtuemart  2.0.26a

Thank you for the support!

jenkinhill

VirtueMart 2.0.x does not have the core code to allow variants to be added to cart from the category view, so there is no add to cart function at all included in the default VM templates.

Some third party template developers have added code into their template to include add to cart on the category page, but since the code for variants does not exist then you cannot use them. It is likely that add to cart from category view may be included in VM2.1 but there are issues due to the many different types of variants/custom fields.

See http://forum.virtuemart.net/index.php?topic=116191  and  http://forum.virtuemart.net/index.php?topic=121317.0

We cannot provide support for the code used by third party developers. http://forum.virtuemart.net/index.php?topic=108212.0
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum