Solved it with the following code: $order=wc_get_order($order_id); $order_data = $order->get_meta('_shipments'); $final_array ...
There is at least 2 ways to get custom order item meta data from a defined meta key: 1) Since WooCommerce 3 - Using WC_Data method ...
Get the order ID $parent_id = $order->get_parent_id(); // Get the parent order ID (for ... 2) Get the Order meta data $order_meta = get_post_meta($order_id); echo ...
... doesn't seem to work within email templates, when used to get custom meta values associated with the order. WooCommerce 2.2.10, WordPress 4.1.
When viewing WooCommerce order items, you or your clients might want to have additional
wc_get_screen_ids() : array: Get all WooCommerce screen ids. wc_create_page() : int: Create a page and store ...
get order meta data from wp_postmeta table */ SELECT * FROM `wp_postmeta` WHERE post_id in (SELECT ID FROM `wp_posts` WHERE ...
[This thread is closed.] Because of a project I need help from you. I've searched a lot but I can't find a solution. I'm trying to…
WooCommerce saves any additional order information in the Post Meta table
Learn how to export additional order meta data from WooCommerce using the order import export plugin for