| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
what is the IF statement to check if discounts or coupons are used | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
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
|
|||||||
|
|||||||
|
try,
{$cart.coupon_discount}
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
![]() |
|
| Thread Tools | Search this Thread |
|
|
|
|
|||
|
X-Cart forums © 2001-2020
|
|||