metaminas2015 Posted September 22, 2016 Share Posted September 22, 2016 How can I set to when a certain Discount Cupon is used and send a mail to a certain mail? Link to comment Share on other sites More sharing options...
♥raiwa Posted September 22, 2016 Share Posted September 22, 2016 Hello Andre @@metaminas2015, There are several different discount cupon add-ons available. You should post this question in the support thread for the concrete add-on you are using, together with information of your exact oscommerce store version. However as far as I know, not any of the existing add-ons include this option. So it would need custom coding to get what you ask for. I guess you may need to post in the commercial support thread to find someone who will do this for you. rgds Rainer About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
metaminas2015 Posted September 26, 2016 Author Share Posted September 26, 2016 Thanks @@raiwa I was trying to do something like this: if ( $coupon['coupons_id'] == 'testcupon') { $to = 'user@@host'; $subject = 'Notification of testcupon'; $message = 'Discount cupon "testcupon" was used by "firstname" "lastname" - total of orders: "total" - value from discount: "discount" '; $from = "From: Owner Store <owner@@hostt>"; mail($to,$subject,$message,$from); } Link to comment Share on other sites More sharing options...
♥raiwa Posted September 26, 2016 Share Posted September 26, 2016 There are several different discount cupon add-ons available. You should post this question in the support thread for the concrete add-on you are using, together with information of your exact oscommerce store version. About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.