• Resolved baumkuchen

    (@baumkuchen)


    Before I buy the Pro version, I want to know how to add “per product tracking” with php code.

    We do not use the “Shipment Tracking API”. Because we get Shipment Numbers by emails. So i have to right a bit of code to add it to the orders.

    How I can use “ast_insert_tracking_number” for per product tracking (for DHL, UPS and Hermes)?

    $order_id = $request['order_id'];
            $status_shipped = 1;
            $tracking_number = $note->comment_content;
            $tracking_provider = 'UPS';
            
            ast_insert_tracking_number($order_id, $tracking_number, $tracking_provider, '', $status_shipped );
    • This topic was modified 2 years, 7 months ago by baumkuchen.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Zorem

    (@zorem)

    Hi. AST does not support tracking per item, only the AST PRO, we do not support adding custom code and you must have the AST PRO to be able to add tracking per item to orders, it will not work with the free version.

    Thread Starter baumkuchen

    (@baumkuchen)

    Thanks for your Answer. And how can I do it in Pro Version?

    Is there sample code or snippets to copy and paste it?

    Plugin Author Zorem

    (@zorem)

    Hi, For any question related to the Pro Version please contact the zorem.com.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add per product shipping number in php’ is closed to new replies.