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

Adding an 'order sample' button

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-31-2011, 04:29 AM
 
jkingham jkingham is offline
 

Newbie
  
Join Date: Aug 2011
Posts: 1
 

Default Adding an 'order sample' button

I'd like to add a button that will sit next to 'buy now' that automatically adds a product with a quantity of one to the cart. I am unsure of what exactly to edit in the product.tpl and/or buttons/ directory.

X-Cart Gold V. 4.1.11

Any help is much appreciated!
__________________
hi
Reply With Quote
  #2  
Old 09-08-2011, 08:48 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Adding an 'order sample' button

If you are considering a way to do it without having to customize the code, you could just use a product option.

---
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
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 02:02 PM.

   

 
X-Cart forums © 2001-2020