Support

Search results for ""

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

ACF and custom Fields

After updating WooCommerce to HPOS our ACF and custom fields are no loger available in the WooCommerce orders table but appear fine in the WooCommerce product table?

5 months, 4 weeks ago
Stefan van den Dungen Gronovius
Developer

Hi Paul,

When you switch to the new WooCommerce HPOS table, all orders are stored in a different table in the database and not anymore in the post table. This also means that the custom fields for the ‘old’ post-type order do not work anymore in ACF. All metadata for HPOS order are also stored in a different table order_meta instead of the post meta table.

As far as I know, ACF does not switch the custom fields for Orders as well. When I open an order in HPOS mode, I don’t see the ACF fields that I defined for the ‘Order’ Post type, and that is what I suspect. Our plugin does have support for the HPOS order table, and we even have an Order Meta column that allows you to show the Order metadata instead of the Custom fields on the order table.

However, our plugin does not have support for ACF fields that are defined for HPOS orders. This is because ACF does not support this at this moment.

5 months, 3 weeks ago

You must be logged in to reply to this topic.