News:

Looking for documentation? Take a look on our wiki

Main Menu

Product detail Variants in Product display rather than clicking first

Started by bigrich66, December 01, 2017, 11:18:33 AM

Previous topic - Next topic

bigrich66

J 3.8.2
VM 3.2.4

Hi all

On the product listings page below...

https://antiligatureshopdirect.com/index.php?virtuemart_category_id
  • =29&Itemid=229&option=com_customfilters&view=products

    ...you have a combination of products with variants and those without. Those without variants can be added to the cart with just one click. Those with variants need to be clicked then the product detail page comes up then the variants selected before they can be added to the cart.

    My customer, however is asking if those products with variants can also be selected from the product listing page above so no second click is required to the product detail page?

    I am aware the product template could be hacked to included the variants but even if they could, would 'add to cart' work from the product listing page?

    Thanks


jenkinhill

It is a "feature" of your template that the variants do not show. Using default VM templates it works like this:  http://demo.virtuemart.net/

Where a child needs to be selected there is a message to say so. On selecting a variant the add to cart button shows.
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

Studio 42

I think that you have a javascript problem, the product should be reloaded in the list.