Page 1 of 1

2.0.2.0 Add-to-Cart issue

Posted: Mon Jul 20, 2015 6:54 pm
by Knight.Vision
my add-to-cart button on main category pages don't work nor does any other. fruitologist.heartland.co.il

Re: 2.0.2.0 Add-to-Cart issue

Posted: Mon Jul 20, 2015 10:48 pm
by deepvision

Code: Select all

cart.add() 
javascript function is not defined.
Also the following resource is missing:

Code: Select all

<script type="text/javascript" src="catalog/view/javascript/menu3rdlevel/common.js"></script>

Re: 2.0.2.0 Add-to-Cart issue

Posted: Mon Jul 20, 2015 10:49 pm
by Knight.Vision
Thanks for the reply. Where do I place those codes?

Re: 2.0.2.0 Add-to-Cart issue

Posted: Tue Jul 21, 2015 2:06 am
by deepvision
Those codes are already there.
But the function definition for cart.add is missing.
Also the following file is missing
catalog/view/javascript/menu3rdlevel/common.js

Re: 2.0.2.0 Add-to-Cart issue

Posted: Tue Jul 21, 2015 3:40 am
by Knight.Vision
fixed the file issue. Where do I find that card.add() function and what do I insert?

Re: 2.0.2.0 Add-to-Cart issue

Posted: Tue Jul 21, 2015 11:00 am
by deepvision
Knight.Vision wrote:fixed the file issue. Where do I find that card.add() function and what do I insert?
Usually in the common.js file .

Re: 2.0.2.0 Add-to-Cart issue

Posted: Thu Jul 23, 2015 11:19 pm
by Knight.Vision
So now the cart updates but the button that provides a summary of cart items at the top of the page doesn't update, but when you click on it, it shows the cart correctly.