Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Coupon Code in Order Confirmation email

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-01-2007, 11:55 PM
 
Lee Lee is offline
 

Advanced Member
  
Join Date: Dec 2002
Posts: 95
 

Default Coupon Code in Order Confirmation email

Morning all,

Is it possible to have the Coupon Code actually display somewhere in the order confirmation email?

We use coupon codes to give away reward points, so I have it set up as a coupon code for Free Shipping and our inbound assign the reward poionts to order they see tith a coupon saving of ё0.00.

As we build more and more coupons I would just like to see the actual code in the email so our inbound know which offer it applies to.

Any ideas?
__________________
Lee

X-Cart 4.0.14 - heavily modified! (Linux)
www.lasertechgroup.com/uk
Reply With Quote
  #2  
Old 10-15-2007, 10:50 PM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default Re: Coupon Code in Order Confirmation email

I don't know the answer but wanted to bump this as it is something similair to what we want to do

We need to insert the coupon code used for a order into our affiliate tracking code (we are with paid on results) which is on order_message.tpl so is there a tag we can use to do this or would it require custom coding?
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #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
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:08 AM.

   

 
X-Cart forums © 2001-2020