Makers Byte
Published in

Makers Byte

How to extend admin fields in WooCommerce orders page?

A snippet of code that can help add WooCommerce admin fields.

Sometimes you need to further extend the Admin Listing. For example, adding the serial numbers to the WooCommerce orders listing.

How to do it? Here is the snippet of code which can help achieve this:

edit_shop_order_columns is the function where i am rearranging the fields

shop_order_column is the function where i am managing those fields and providing the values respectively.

If you enjoyed this post…it would mean a lot to me if you could click on the “claps” icon…up to 50 claps allowed — Thank You!

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store