Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Add to cart popup not working on home page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-09-2014, 02:14 PM
 
vdighe vdighe is offline
 

Member
  
Join Date: Aug 2006
Posts: 16
 

Default 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
Reply With Quote
  #2  
Old 09-09-2014, 03:06 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default 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?
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #3  
Old 09-09-2014, 04:04 PM
 
vdighe vdighe is offline
 

Member
  
Join Date: Aug 2006
Posts: 16
 

Default Re: Add to cart popup not working on home page

maxmusclestoreonline.com
Reply With Quote

The following user thanks vdighe for this useful post:
totaltec (09-09-2014)
  #4  
Old 09-09-2014, 05:13 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default 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
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:32 AM.

   

 
X-Cart forums © 2001-2020