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

Ajax Add To Cart Popup On Every Item

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-07-2013, 05:54 AM
 
Phil Richman Phil Richman is offline
 

Advanced Member
  
Join Date: May 2012
Posts: 94
 

Default Ajax Add To Cart Popup On Every Item

I am having a difficult time getting the Add To Cart Popup to occur on some pages (product pages and a custom page). I have searched the forums (as well as google) and tried many variations of button code and including the "js" files, etc. The "redirect to cart" option is unchecked in the settings.

It works well on the category view (which uses "home.php"). It does not work on any of the pages that use "product.php".

I started with "home.php" and followed all of the php and subsequent tpl page code for any reference to javascript (inc AJAX and JQuery) and anything buttons or add to cart and inserted them into my custom form. I could not get it to work.

Does anyone know what includes and specific code is required to make the Add To Cart popup function? And I cannot think of any instance in which I would not want our site to use the Add To Cart Popup when a customer pushes the Add To Cart button... so any suggestions on the easy way to just make that work throughout the site anytime there is an Add To Cart button displayed?
Reply With Quote
  #2  
Old 03-07-2013, 05:56 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default Re: Ajax Add To Cart Popup On Every Item

Make sure you don't change the css class names on the product page for the buttons.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile 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 11:13 AM.

   

 
X-Cart forums © 2001-2020