• Resolved ernst1234

    (@ernst1234)


    Hi

    We’d like to automate tracking after we create waybills/labels from order admin, under certain circumstances (e.g. waybill creation doesn’t fail).

    We use the-courier-guy and fastway-za. Different waybill creation triggers:
    > the-courier-guy has an item in the Order actions meta-box.
    > fastway-za has it’s own meta-box with a url link.
    Both write info to db: postmeta, containing the tracking references, etc.

    We also have TrackShip Pro.

    We’d love to add this functionality so that we do not need to capture tracking info into your meta-box manually. Would like to do this through child functions.php, so that when either triggers above are used, your plugin gets and stores it’s info and informs TrackShip (if done by your plugin).

    > Do you have code you can share? Or is this custom development? If it it, we’d still be happy to do this.
    > My idea was just to create all the necessary db entries your plugin creates for tracking, based on values of other post_meta data. But then would TrackShip pick it up if order status changed or do you API push info on your triggers?


    Regards
    Ernst Dinkelmann

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author gaurav1092

    (@gaurav1092)

    Hi @ernst1234,

    You can request the integration with?Courier Guy and Fastway on?AST’s?features board, when you post your request, please provide as much details as you can about the nature of the integration and how Courier Guy and Fastway integrates with WooCommerce.

    Thanks

    Thread Starter ernst1234

    (@ernst1234)

    Hi
    Our need is a bit too urgent to wait for feature additions. I’ll have to do this myself.

    Just two questions, please, then I’ll go away ?? :

    1. Does your plugin trigger TrackShip’s process, e.g. via API? Or do TrackShip’s plugin hook into order status updates and then check db: postmeta for the info it needs?
    2. I did find your article on adding tracking info via php: https://docs.zorem.com/docs/ast-pro/developers/adding-tracking-info-to-orders/
      All I want to know here is: Is there any special imports needed before using this code in child theme’s function.php ?

    Thank you!

    Plugin Author gaurav1092

    (@gaurav1092)

    Hi @ernst1234,

    1. You don’t need to do anything to trigger TrackShip’s process, when you add tracking information using code snippet and mark order as shipped it will automatically trigger to TrackShip.
    2. No, you don’t need any special imports before using this code in child theme’s function.php.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Automate Tracking’ is closed to new replies.