how can i add coupon code to order confirmation email?
regards
Ralph
how can i add coupon code to order confirmation email?
regards
Ralph
The email is assembled from various text-definitions in your
/includes/languages/english/YOURTEMPLATE/checkout_process.php
You might consider adding your never-changing coupon code to your customized version of this file, something like this:
could become:Code:define('EMAIL_THANKS_FOR_SHOPPING','Thanks for shopping with us today!');Code:define('EMAIL_THANKS_FOR_SHOPPING','Thanks for shopping with us today!' . "\n\n" . 'For your next order, use Coupon Code RRTTQ to get 10% off applicable items.');
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
thanks doc,Originally Posted by DrByte
it helps a little ...
is there no other way to include the code from database - like in register confirmation email?
regards
Ralph
You can include a "Welcome Coupon" automatically by:
1. create the coupon in Admin->Gift Cert/Coupons->Coupon Admin
2. go to Admin->Configuration->GV/Coupons and enter the code
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.