VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: mpiper on February 18, 2016, 07:31:46 AM

Title: Replace Add to Cart with Choose Varation in Category View
Post by: mpiper on February 18, 2016, 07:31:46 AM
Hello

I have site www.xroma-radis.gr and I use Joomla 3.4.4 Stable, Virtuemart 3.0.8 and PHP 5.4.39 

When a product has custom variants in category view customer view the "add to cart" button and if he press it then the product goes to cart directly without user select the variants. I use a template from smartaddons.com but also with the default virtuemart template the result is the same. I saw templates that when product has custom varations the "add to cart" button is replaced by "choose varation" button or if the user press add to cart the product details page displays when the user can select the varation. How can I fix that ? Am I doing something wrong?

Please help ASAP

You can see the prob here

I have 2 products with customs fields in this category

http://www.xroma-radis.gr/index.php/metalikes-epifanies/antiskoriaka?start=9

first product - HAMMERITE Σφυρήλατο Απ' Ευθείας Στη Σκουριά -  http://www.xroma-radis.gr/index.php/metalikes-epifanies/antiskoriaka/hammerite-σφυρήλατο-απ-ευθείας-στη-σκουριά-detail

second product - HAMMERITE Γυαλιστερό Απ' Ευθείας Στη Σκουριά - http://www.xroma-radis.gr/index.php/metalikes-epifanies/antiskoriaka/xroma-metallon-detail

Mod edit:  bump message removed. Please read http://forum.virtuemart.net/index.php?topic=104795.0
Title: Re: Replace Add to Cart with Choose Varation in Category View
Post by: jenkinhill on February 19, 2016, 12:53:07 PM
See http://forum.virtuemart.net/index.php?topic=133189.msg461493#msg461493  or edit the code in the category template files.

You are using old and insecure Joomla/VM versions. See http://forum.virtuemart.net/index.php?topic=118683.0