Easily find WooCommerce order ID
Posted on
This might be outdated!
Here is a small plugin to add a new column to the WooCommerce orders list page that contains orders IDs.
About the author
Related Posts
6 comments
Leave a Reply
You must be logged in to post a comment.
Hi Remi, what if I import/export orders from one shop to another and now the order id doesn’t match the post id?
If you use the Woo CSV importer, then create a ticket on the support that’s the best thing to do.
function woo_order_extra_columns_content($column)
{
if ($column == “order_ID”)
{
$order = new WC_Order($GLOBALS[‘post’]->ID);
echo $order->get_order_number();
}
}
Hi Remi, I am looking to add order item to the Woocommerce order list page. Is there a way to do this?
This looks exactly what I need but I have a stupid-simple question: where do I download the plugin?
[…] To find the product ID, you can just place your cursor over the product line or use my little plugin: […]