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

[Upgrade virtuemart 2.6.12] “Add to cart” button doesn't work anymore [Resolved]

Started by Aelric, December 09, 2014, 18:48:09 PM

Previous topic - Next topic

Aelric

Greetings,

Further to my Virtuemart update, from 2.0.20b at 2.6.12, I have a problem. On the product details page, orders are placed in my cart, but it doesn't work when I want to order directly with the "Add to cart" button displayed in the featured products module. Before, "Add to cart" button added product in my cart and open a popup to confirm. Now, I'm redirected to the homepage without adding the product and the cart view is inserted, empty, below. Arrows to increment the number of products don't work either. Is this issue speak to someone ?

Best regards,
Aelric

Operating System: Windows 7
Joomla version: 2.5.27
URL's concerned site: Local site
Hosting: Local server (EasyPHP)
Browser(s): Firefox, Chrome

Aelric

Greetings again,

Html code is the same from one version to another. Also I think it may be a problem with javascript libraries.
Does anyone have had conflicts with their libraries after virtuemart updates ?

Best regards,
Aelric

jenkinhill

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

Aelric

Apparently, the problem was an override problem. The code wasn't working, because it lacked this line to "/templates/vmblend-blue/html/mod_virtuemart_product/default.php" :

// add javascript for price and cart, need even for quantity buttons, so we need it almost anywhere
vmJsApi::jPrice();


I imagine it was brought by the update in the main code.

But Thank you for the help provided,
Aelric.