| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Order total less coupon value | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Order total less coupon value
Hi,
We are using IdevAffiliate and have just noticed that the commission paid is calculated before any coupon value is deducted from the order total. This is the affiliate code in /customer/main/order_message.tpl. {literal} <script language="JavaScript" type="text/javascript" src="http://www.xxx.com/idevaffiliate/sale.php?idev_saleamt={/literal}{section name=oi loop=$orders}{$orders[oi].order.subtotal}{/section}{literal}&idev_ordernum={/literal}{section name=oi loop=$orders}{$orders[oi].order.orderid}{/section}{literal}"> </script> {/literal} Is there a variable I can use in place of order.subtotal which will be the order value after coupon but before shipping? Thanks, Steve
__________________
Version 4.1.8 & 4.1.9 ezcheckout4.1.x cdseolinks2 product_metatags41x shipping_per_product41x http://www.earthsmagic.com |
|||||||
#2
|
|||||||
|
|||||||
Re: Order total less coupon value
If anyone has the same issue, just replace $orders[oi].order.subtotal with $orders[oi].order.discounted_subtotal
Steve
__________________
Version 4.1.8 & 4.1.9 ezcheckout4.1.x cdseolinks2 product_metatags41x shipping_per_product41x http://www.earthsmagic.com |
|||||||
|
|||
X-Cart forums © 2001-2020
|