X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Add to cart popup not working on home page (https://forum.x-cart.com/showthread.php?t=69957)

vdighe 09-09-2014 02:14 PM

Add to cart popup not working on home page
 
http://help.x-cart.com/index.php?title=X-Cart:Add_To_Cart_Popup

This module does not work on the featured products listed on my homepage.

Here's the code used on the home page:

{include file="customer/main/buy_now.tpl" is_matrix_view="1" featured="1" product=$product}

Using XCART 4.4.6

totaltec 09-09-2014 03:06 PM

Re: Add to cart popup not working on home page
 
Most likely it is a JavaScript conflict. Can you provide a link to the page so we can take a look?

vdighe 09-09-2014 04:04 PM

Re: Add to cart popup not working on home page
 
maxmusclestoreonline.com

totaltec 09-09-2014 05:13 PM

Re: Add to cart popup not working on home page
 
Yes, as I suspected you have other JavaScript related errors on the page. Probably something related to your template customization. Using Chrome, I looked in the console and saw this:

Uncaught TypeError: Cannot set property 'quantity' of undefined www.maxmusclestoreonline.com/:304
Uncaught TypeError: Cannot set property 'quantity' of undefined (index):370
Uncaught TypeError: Cannot set property 'quantity' of undefined (index):475
Uncaught SyntaxError: Unexpected identifier memo.php:1


All times are GMT -8. The time now is 11:51 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.