VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: David Bellamy on October 10, 2012, 05:33:03 AM

Title: Selecting add to cart no changes occur until I refresh the page
Post by: David Bellamy on October 10, 2012, 05:33:03 AM
I am working on a WAMP local server and using Virtue Mart 2.0 on Joomla 2.5 with a Rocket Theme template. I am selecting add to cart and there is no indication that the product was added to the cart until I refresh the page. And the cart is published in a module shows the running totals there. I must click on the show cart link to get the items in the cart in the main component ready for checkout. Seems like I should see the items in the cart after I click add to cart. Is there something in the Virtue Mart store that I should turn on to get this to work correctly?
Title: Re: Selecting add to cart no changes occur until I refresh the page
Post by: bytelord on October 10, 2012, 11:49:25 AM
Hello

The is probably a js conflict with your templae, please use firebug to examine it. Do you have any live url?
More information using firebug: http://forum.virtuemart.net/index.php?topic=102850.0

JS Conflicts: http://dev.virtuemart.net/projects/virtuemart/wiki/General_JS-Problems_with_templates_and_jQuery
and http://dev.virtuemart.net/projects/virtuemart/wiki/JavascriptCSS_Template_Overrides_and_Avoiding_Conflicts_between_Libraries

Regards
Title: Re: Selecting add to cart no changes occur until I refresh the page
Post by: Pulsator on October 15, 2012, 14:11:54 PM
Hi

I had this problem with the site I am working on.  Turned out to be a conflict in the use of jquery across a number of elements within the site.  I ended up installing a plug-in titled jQuery Easy which can be downloaded via: http://extensions.joomla.org/extensions/core-enhancements/performance/jquery-scripts/18327.

This resolved my issues and may help you.

Obviously make a backup using Akeeba before you install just to be safe.

Also, make sure you have 'Display Modal Popup upon Add to Cart' enabled in your configuration/checkout tab.