Home Forums Pre-Sale Meta Keys for Carrier Name and Tracking Number in WooCommerce Orders Tracking

Meta Keys for Carrier Name and Tracking Number in WooCommerce Orders Tracking

  • Author
    Posts
  • #255094

    frasers
    Participant

    Hi Support Team,

    I am currently customizing my WooCommerce email templates and need to manually retrieve tracking information using PHP.

    Could you please provide the exact Meta Keys or the PHP functions required to fetch the following data from the $order object?

    Carrier Name: The display name of the shipping provider (e.g., USPS, DHL).

    Tracking Number: The specific tracking code assigned to the order.

    I need to access these values directly in the email-order-details.php or similar template files to display custom carrier icons and tracking details.

    Thank you for your assistance.

    You can access my dashoboard by the site information as below, but please don’t edit anything there before confirming with me, thank you.

You must be logged in to see replies to this topic. Click here to login or register