crazihouse Posted January 13, 2007 Posted January 13, 2007 Hi, Is it possible to have the tracking number included on the email sent to a customer when his/her order is updated to "Shipped" ? I'm using the "Canada Post Shipping Module with dimensions" contribution, and it's working superbly. I'd just like to have the email sent to the customer include the Canada Post tracking number when I update the order. I think the variable is $order->info['CP_track_num']. I just don't know where to go from there. eg. Company Name ------------------------------------------------------ Order Number: 20 Detailed Invoice: http://site.com/catalog/account_history_info.php?order_id=20 Date Ordered: Tuesday 13 January, 2007 You can track your packages by clicking the link below. http://site.com/catalog/account_history_info.php?order_id=20 The comments for your order are Order is shipped. Your order has been updated to the following status. New status: Shipped Canada Post Tracking Number: 1234567890 Please reply to this email if you have any questions. Thanks, this would be greatly appreciated. Quote
Guest Posted January 14, 2007 Posted January 14, 2007 a simple way will be to update the comments of the order with the track no. and so when the customer is notified he will see this info. If you want it automated then you need to do some coding and retrieve the tracking info and append it with the email. Quote
crazihouse Posted June 12, 2007 Author Posted June 12, 2007 Thanks enigma1. I ended up doing a bit of trial and error but finally figured it out. Quote
peteschulte Posted March 17, 2008 Posted March 17, 2008 Hi Crazihouse and Enigma1, I need to obtain the vendor's shipping number AKA tracking number and email it to the customer from osC, which it sound like you have accomplished. Also, it looks like the Canada Post contribution gives you this number. Is that correct? If so, maybe I can re-engineer part of it to get our U.S. vendor's shipping numbers for our orders. thanks for any feedback, Peter Quote Pete Schulte
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.