View Single Post
  #1  
Old 06-14-2011, 03:22 AM
 
BritSteve BritSteve is offline
 

eXpert
  
Join Date: Apr 2006
Posts: 339
 

Default 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
Reply With Quote