Closed (fixed)
Project:
Ubercart Discount Coupons
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Nov 2010 at 12:55 UTC
Updated:
13 Jan 2011 at 20:20 UTC
How can I display the coupon information in the order confirmation email? Ubercart sends an email to the customer based on a programmable email template to confirm the order. These email template can reference Ubercart [tokens] to display information about the order.
Currently, if a coupon is used on an order, the total price will be calculated properly in the email, but there is no information about the redemption of a coupon. How can I also display information about the redemption of the coupon in the email?
Comments
Comment #1
longwaveThere is token support for purchased coupons, but not for used coupons yet. Changing to a feature request.
Comment #2
webservant316 commentedthanks. for letting me know.
I watch this post and future release notes for this feature.
best wishes.
Comment #3
Sam Straub commentedRegarding post #1, how can [coupon-code] be used in the order confirmation email for someone who purchased a coupon? I realize I can use the 'Notify customer when a single coupon is purchased' predicate and the action will send an email with the coupon code in it, however, I'd like to use it with a custom order confirmation template. Further I'd like to send it to an email address that is not the purchaser of the coupon as in the case of giving a gift. Any help is greatly appreciated.
Comment #4
longwave[order-coupon-code] has been added as a new token in the development branch.
[coupon-code] cannot be used in the order email itself as the required information is not available, and the coupon may not even have been created yet (if coupon creation is triggered on Completed or even Payment received, the order email may be sent before the status change). Ubercart handles file downloads in a similar way, they are not available at invoice time.
Comment #5
Sam Straub commentedThanks longwave and great work on this module. It's top notch.