View Single Post
  #3  
Old 10-16-2007, 08:13 AM
 
Lee Lee is offline
 

Advanced Member
  
Join Date: Dec 2002
Posts: 95
 

Default Re: Coupon Code in Order Confirmation email

Using skin1/mail/html/order_data.tpl we added -

{if $order.coupon and $order.coupon_type eq "free_ship"}
<TR>
<TD align="right" height="20"><B>Coupon name:</B>&nbsp;</TD>
<TD align="right">{$order.coupon}&nbsp;</TD>
</TR>
{/if}

So if a customer uses one of coupon codes that gives them extra reward points, it is set up as Free Shipping in the admin, but on the order message that comes through iunder the subtotal it specifies the coupon code i.e.LT07116, which our inbound team pick up on and we act on accordingly.

Not perfect, but it works
__________________
Lee

X-Cart 4.0.14 - heavily modified! (Linux)
www.lasertechgroup.com/uk
Reply With Quote