Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
Michael Hocke

WooCommerce Order Table

Hi there,
when i try to edit the WooCommerce Order Table I only have the choice between Default and WooCommerce fields/coloumns. When I try the same with any other table (Products etc.) I have the full choice including Custom/Custom Fields/YOAST.
Is it maybe an issue with the plugin settings? (the addons ACF/YOAST/WooCommerce are all active)
Thanks in advance!

10 months ago
Stefan van den Dungen Gronovius
Developer

I suspect that you switched to the new WooCommerce HPOS table in WooCommerce. This means that the tables does not work on the old post table anymore. That also means that the old column you refer to, the columns that only work for posts, do not work anymore on the order page. Switching to HPOS, also means that your ACF fields will not load anymore for the new HPOS order table.

You can find more information about HPOS here:

High-Performance Order Storage

10 months ago
Darcy

I would like to follow up this. Indeed when switching to HPOS, we lose columns set up for the default Orders system, specifically Custom Fields.

Is there had plan to extend AC\Columns\CustomFields to access the _wc_orders_meta table. It is the same structure as _postmeta, so I do not imagine it is hard to do this.

1 month ago
Darcy

I started to dive into this, but I am not sure I know the code well enough to figure out how to extend ACP\Sorting\Model\MetaFactory to add a new MetaType ORDER

1 month ago
Darcy

Oh wait. I take it all back. I found Order Meta column, which is the same Custom Field!

1 month ago
Stefan van den Dungen Gronovius
Developer

You’re right. The Order Meta column is similar as the Custom Field, only for the HPOS database table.
We gave it a different name matching the terms WooCommerce uses to make it more clear.

1 month ago

You must be logged in to reply to this topic.