Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Canada Post Tracking Number in Order Update Email


Recommended Posts



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.




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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 4 months later...
  • 9 months later...

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,



Pete Schulte

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...