VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: rjohnson1990 on July 16, 2012, 19:45:07 PM

Title: Cart Module Refresh
Post by: rjohnson1990 on July 16, 2012, 19:45:07 PM
I installed the latest VirtueMart extension for Joomla 2.5 and when adding products to my cart, it doesn't auto update. I have to refresh the page. Is there a way to make it update on it's own? Thank you.
Title: Re: Cart Module Refresh
Post by: jenkinhill on July 16, 2012, 23:33:52 PM
Normally in VirtueMart 2 this isaccomplished with AJAX. If not working for you it is most likely a JavaScript conflict. Try a different Joomla template which does not have bells & whistles built in, like Beez.
Title: Re: Cart Module Refresh
Post by: ivus on July 18, 2012, 07:38:50 AM
If you use Firefox or Chrome, you can use the script inspector (firebug in firefox) to see exactly what went wrong.

In Chrome you can see the AJAX request fire off in the Network panel. It's either going to be the AJAX post or the JQuery script that is failing (most likely JQuery as jenkinhill mentioned).

These development tools makes it so much easier to fault find problems.
Title: Re: Cart Module Refresh
Post by: deejayM on July 27, 2012, 13:04:56 PM
Hi

For anyone with the same problem then I found this plugin was the answer to the issue :)

http://extensions.joomla.org/extensions/core-enhancements/performance/jquery-scripts/18327