Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author AfterShip & Automizely

    (@aftership)

    Hi,

    AfterShip will import tracking number upon successful connection.
    Could you please provide more information about this requirement and where you are trying to alter the HTML?

    Best,
    AfterShip

    Thread Starter Nimsrules

    (@nimsrules)

    Hello, I got what I wanted after giving a fleeting look in aftership.php
    For anyone else who wants the above information in isolation, you can achieve so like below:

    1. Tracking Number: get_post_meta($order_id, '_aftership_tracking_number', true);
    
    2. Tracking Service Name: get_post_meta($order_id, '_aftership_tracking_provider_name', true);
    
    3. Tracking Service Slug:  get_post_meta($order_id, '_aftership_tracking_provider', true);

    Just echo all the three and voilla!

    P.S. – One can also follow https://support.aftership.com/article/52-how-to-use-aftership-tracking-link to generate a tracking link and easily style it using CSS

    Plugin Author AfterShip & Automizely

    (@aftership)

    Hi,

    That’s great. Thanks for sharing!

    Best,
    AfterShip

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