That depends on how and when you have the tracking number.
The best way would probably be to hook into the order finalized event and add the tracking number there. Maybe the before event, if you want to have the data available in the confirmation mail.
The admin user will be setting the tracking number (i.e. input field) and sending a dispatch email. Wondering if it was possible for the admin to have additional input/property fields on the order similar to customer comments and order notes?
In reference to hooking into the API events, would you recommend on creating a separate project with the events code in then push the dll into the site bin folder?
You can just add the input field to the admin order xslt and make a little change to the javascript in the top of the xslt - its already updating the comment fields. You can then just make another email template and the webshop owner can send it using the admin interface - or you would make a VS project and hook into the OrderPropertiesUpdated event and listen for the trackingCode property and then send the email automatic.
For hooking into the Tea Commerce events - the best way is to create a new Visual studio project and hook into the events you need and then copy the dll to your bin folder.
Order Tracking Number
Looking at adding a tracking number to an order when it is dispatched. Using Tea Commerce what options are available to achieve this?
Hi Sean,
That depends on how and when you have the tracking number.
The best way would probably be to hook into the order finalized event and add the tracking number there. Maybe the before event, if you want to have the data available in the confirmation mail.
/Rune
The admin user will be setting the tracking number (i.e. input field) and sending a dispatch email. Wondering if it was possible for the admin to have additional input/property fields on the order similar to customer comments and order notes?
In reference to hooking into the API events, would you recommend on creating a separate project with the events code in then push the dll into the site bin folder?
Hi Sean
You can just add the input field to the admin order xslt and make a little change to the javascript in the top of the xslt - its already updating the comment fields. You can then just make another email template and the webshop owner can send it using the admin interface - or you would make a VS project and hook into the OrderPropertiesUpdated event and listen for the trackingCode property and then send the email automatic.
For hooking into the Tea Commerce events - the best way is to create a new Visual studio project and hook into the events you need and then copy the dll to your bin folder.
Kind regards
Anders
is working on a reply...