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

what is the IF statement to check if discounts or coupons are used

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-30-2009, 10:24 AM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default what is the IF statement to check if discounts or coupons are used

What IF statement do I key in the cart_contents.tpl to check if "discounts or a coupon" is being used show this info?

ex.

{if $cart. ???? }

(display this content)

{else}

(show this)

{/if}
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #2  
Old 03-30-2009, 01:18 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: what is the IF statement to check if discounts or coupons are used

try,

{$cart.coupon_discount}
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
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 08:59 AM.

   

 
X-Cart forums © 2001-2020