• Resolved khalil43

    (@khalil43)


    Hi, i’m using the plugin: Advanced Order Export For WooCommerce. i would like to export the orders with the tracking number, the plugin suggest the custome meta key: _wp_shipment_tracking_items; but when using it i get all the tracking informations in this format: a:1:{i:0;a:4:{s:17:”tracking_provider”;s:8:”logiphar”;s:15:”tracking_number”;s:6:”861337″;s:12:”date_shipped”;s:10:”1572912000″;s:11:”tracking_id”;s:32:”9153e06c6c7c5685b45f7370a205f140″;}}
    the tracking number in this case is: 861337.
    Which meta key should i use to get only the tracking number? ( i used _wp_shipment_tracking_items:tracking_number but it did not work).
    Thank you.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Zorem

    (@zorem)

    Hi, AST is used to add tracking info to the orders and it does not support export of these numbers, as you can see its an array and its not compatible to CSV exports. What is the reason you need to export the tracking numbers?
    Thanks

    Thread Starter khalil43

    (@khalil43)

    Thanks for reply, i know, i’m not tryining to use it for export, i’m using another plugin for to export orders (Advanced Order Export For WooCommerce). I’m trying to get the order tracking number with this plugin ( the plugin allow to add custom field with custom meta key) when i add the meta key: “_wp_shipment_tracking_items” the custom field display all the tracking informations like that: a:1:{i:0;a:4:{s:17:”tracking_provider”;s:8:”logiphar”;s:15:”tracking_number”;s:6:”861337″;s:12:”date_shipped”;s:10:”1572912000″;s:11:”tracking_id”;s:32:”9153e06c6c7c5685b45f7370a205f140″;}}.
    My goal is to display just the tracking number, i’m asking which meta key instead of “_wp_shipment_tracking_items” should i use to get only the tracking number? thanks

    Plugin Author Zorem

    (@zorem)

    Hi, Unfortunately, we do not support exporting the tracking from WooCommerce, you will need to do custom dev in order to do that. This is why I asked why you need to export tracking numbers from the orders since usually its not something that is needed.
    Thanks

    Thread Starter khalil43

    (@khalil43)

    Hi, thank you for reply, the shipping company we are working with, deliver and keep the money for around one month, then they start sending us the goods, we send them each monday the list of unpaid orders with their tracking number, so they could release the money. That is why we need to export completed orders with the total price and the tracking number.

    Plugin Author Zorem

    (@zorem)

    Hi, You can get tracking number for an order using this code – https://gist.github.com/zorem/60b833b32830d9656c01f88707ce4532

    where i should put this code to
    which file ?

    Plugin Author Zorem

    (@zorem)

    Hi, you can use it in the code to export the tracking numbers, we do not support exporting the tracking from WooCommerce, you will need to do custom dev in order to do that. We are working on a pro version with option to export orders with tracking numbers, it should be ready in 1-2 month.
    Thanks

    i have the same issue
    and i put that code at function but nothing happens

    any suggests …. ??

    Plugin Author Zorem

    (@zorem)

    Which same issue?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Meta key for tracking number’ is closed to new replies.