Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sean Dooley 289 posts 528 karma points
    Nov 30, 2011 @ 12:21
    Sean Dooley
    0

    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?

  • Rune Grønkjær 1372 posts 3103 karma points
    Nov 30, 2011 @ 12:25
    Rune Grønkjær
    0

    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

  • Sean Dooley 289 posts 528 karma points
    Nov 30, 2011 @ 12:46
    Sean Dooley
    0

    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?

  • Anders Burla 2560 posts 8256 karma points
    Dec 03, 2011 @ 16:09
    Anders Burla
    1

    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

Please Sign in or register to post replies

Write your reply to:

Draft