View Single Post
  #9  
Old 09-17-2012, 02:38 AM
 
xcartukguy xcartukguy is offline
 

Member
  
Join Date: May 2012
Posts: 17
 

Default Re: ajax add to cart button

Quote:
Originally Posted by totaltec

Now, in order to further demonstrate, I have updated (temporarily!) my test site to display exactly what you want in full working order. There is a simple link with onclick to add to cart. Works with Qty and options just fine.


Thanks very much.
I have finally succeeded! I was missing a class which the javascript was looking for!

**Edited**

My next question is, how do I make the javascript reset...
the standard buttons go "Add to Cart" -> "Added" -> "Add More to Cart" I understand the button text is via smarty and javascript but I cannot reclick the link after I've clicked it once.
__________________
X-Cart 4.3.1
X-Cart 4.5.4
Reply With Quote