Order Items Tutorial
If you open any edit order page in WooCommerce, you will find attached products in it… but actually it is not products at all.
It is all about WooCommerce Orders – managing order statuses, customizing the edit orders page, understanding Order Items.
If you open any edit order page in WooCommerce, you will find attached products in it… but actually it is not products at all.
For now it is the last post in the series about WooCommerce order meta. We began with checkout page, then we added order meta in WordPress admin, and to “Thank you” and “View Order” pages. Now it is time for emails.
In the first post of this series we added our own custom checkout fields, in the second post we customized Order Details metabox in admin area. Today we’ll add order custom fields to user pages: Order Received page and View Order page in My Account.
In my previous tutorial I explained how to add custom checkout fields. Now let’s add these fields to the Order Details metabox in admin area.
WooCommerce already allows to bulk change default order statuses. But what if you registered your own custom order status and now you would like to add it to bulk actions on the orders page.
In this post we will work mostly with «wc_order_statuses» filter hook that allows to add, remove or change order of WooCommerce statuses.