Home Forums Plugins WooCommerce Email Template Customizer Tracking number shortcode not working

Tracking number shortcode not working

  • Author
    Posts
  • #197527

    q.watelet@gmail.com
    Participant

    Hello,

    I just started to work with a logistic company who integrates the tracking number in my orders.
    I want to display these info in my ‘completed’ emails.

    I use WooCommerce Shipment Tracking for the info.

    I tried two options:
    a) wc hook => it shows the info, but I can’t customize them. How to do it? I need them at least in French, not in English. Maybe not all the info, nor in a table.

    b) short code as Tracking Number: [wec_order_meta key=”_wc_shipment_tracking_items” array_key=”tracking_number”] in a normal text element => the array doesn’t seem to work. It gives me all the info:
    [{“tracking_provider”:””,”custom_tracking_provider”:”COLISSIMO”,”custom_tracking_link”:”https:\/\/www.laposte.fr\/outils\/suivre-vos-envois?code=6A36369458435″,”tracking_number”:”6A36369458435″,”date_shipped”:1714496786,”tracking_id”:”0f05a09687ab503745beee5f6cd3ea81″}]

    Could you help me please?
    Thank you very much.

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