View Single Post
  #5  
Old 09-14-2012, 01:09 AM
 
xcartukguy xcartukguy is offline
 

Member
  
Join Date: May 2012
Posts: 17
 

Default Re: ajax add to cart button

Quote:
Originally Posted by totaltec
Your welcome.

Assuming your form is named orderform try this:
<a href="javascript:void(0);" onclick="!ajax.widgets.add2cart(orderform)">Add To Cart</a>

That didn't work. my form is called orderform too.
__________________
X-Cart 4.3.1
X-Cart 4.5.4
Reply With Quote