VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: drkeemo on October 25, 2012, 03:15:41 AM

Title: Please Help:" Add to Cart" Error ( I have to refresh to take effect)
Post by: drkeemo on October 25, 2012, 03:15:41 AM
Hi VirtueMarters

Please help me on this one.

I have my VM working , but when I click " Add to Cart" Button , nothing happens. But when I refresh after clicking that button , I can see the item in the cart.

please give it a visit
http://www.keemogames.com
(http://www.keemogames.com)

http://www.keemogames.com/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=19&virtuemart_category_id=6&lang=en (http://www.keemogames.com/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=19&virtuemart_category_id=6&lang=en)
Title: Re: Please Help:" Add to Cart" Error ( I have to refresh to take effect)
Post by: bytelord on October 25, 2012, 09:28:12 AM
Hello,

Checking your site and seems to work fine now the "Add to cart" function. Miss configuration?

Regards
Title: Re: Please Help:" Add to Cart" Error ( I have to refresh to take effect)
Post by: ngodoan on October 31, 2012, 10:17:17 AM
I have the same error. please help me find out them.

my website: http://nguyenthuyartera.com/shopping/vi/component/virtuemart/cham-soc-toc/sp-smoothen-shampoo-250ml-detail.html?Itemid=0


Thanks all.
Title: Re: Please Help:" Add to Cart" Error ( I have to refresh to take effect)
Post by: bytelord on October 31, 2012, 20:01:33 PM
Hello,

For your case there is a javascript conflict that tool place. You are loading twice jquery, one by vm and one by your custom template that also loads lot of jquery scripts.

You could firebug to examine it: http://forum.virtuemart.net/index.php?topic=102850.0
Also please read: http://dev.virtuemart.net/projects/virtuemart/wiki/General_JS-Problems_with_templates_and_jQuery
http://dev.virtuemart.net/projects/virtuemart/wiki/JavascriptCSS_Template_Overrides_and_Avoiding_Conflicts_between_Libraries

Best solution is to unload one jquery instance, try first with the one loaded by your template.

Regards
Title: Re: Please Help:" Add to Cart" Error ( I have to refresh to take effect)
Post by: ngodoan on November 02, 2012, 04:39:01 AM
Thanks. I fixed. Twice jquery on page ^^!