| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
what is the IF statement to check if discounts or coupons are used | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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 |
|||||||
#2
|
|||||||
|
|||||||
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 |
|||||||
|
|||
X-Cart forums © 2001-2020
|