![]() |
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 |
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 |
All times are GMT -8. The time now is 09:38 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.