Post by Knight.Vision » Mon Jul 20, 2015 6:54 pm

my add-to-cart button on main category pages don't work nor does any other. fruitologist.heartland.co.il

New member

Posts

Joined
Sun Feb 08, 2015 6:02 am

Post by deepvision » Mon Jul 20, 2015 10:48 pm

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>

ImageImageImage


User avatar
Active Member

Posts

Joined
Tue May 19, 2015 1:03 am

Post by Knight.Vision » Mon Jul 20, 2015 10:49 pm

Thanks for the reply. Where do I place those codes?

New member

Posts

Joined
Sun Feb 08, 2015 6:02 am

Post by deepvision » Tue Jul 21, 2015 2:06 am

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

ImageImageImage


User avatar
Active Member

Posts

Joined
Tue May 19, 2015 1:03 am

Post by Knight.Vision » Tue Jul 21, 2015 3:40 am

fixed the file issue. Where do I find that card.add() function and what do I insert?

New member

Posts

Joined
Sun Feb 08, 2015 6:02 am

Post by deepvision » Tue Jul 21, 2015 11:00 am

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 .

ImageImageImage


User avatar
Active Member

Posts

Joined
Tue May 19, 2015 1:03 am

Post by Knight.Vision » Thu Jul 23, 2015 11:19 pm

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.

New member

Posts

Joined
Sun Feb 08, 2015 6:02 am
Who is online

Users browsing this forum: No registered users and 5 guests