Home › Forums › Backend Issues (wp-admin) › issue in ACF with woocommerce order
Hi i’m using ACF with wordpress and i have issue in woocommerce order page (in backend), the fields not showing in woocommerce edit order page but it appears normally in edit posts or edit page as shown in the pictures.
Same problem here with ACF Pro.
ACF custom fields are not showing in Woocommerce Orders, but they are working fine in other post types.
I’m using last version: 6.3.5. I’ve tried in 6.1.8 and it’s working as expected.
Thanks!
Official Response from ACF.
As for custom fields on orders, with Woo’s introduction of HPOS, they’ve moved order data, and order metadata to dedicated tables. This means ACF isn’t able to read or write the data required for posts to work. They’ve also changed the internal post type for orders which breaks location rules. We’re currently assessing the best way to bring support for HPOS in Woo to ACF.
For now, if you go to WooCommerce settings > Advanced > Features, you can enable compatibility mode and once it has synched your orders back to the legacy format, you can then toggle “WordPress posts storage” as the storage mode, which uses the legacy post names and tables to store your data which is compatible with ACF.
Is there any update on this 6 months later? We have a number of ecommerce sites that use ACF fields for custom order data and we are basically back to inserting meta fields the old way, negating the value of ACF for Woocommerce sites.
Compatibility mode, as I understand it, just negates all the benefits of the Woocommerce HPOS database optimization by constantly syncing the new system with the old system. Doesn’t seem to be a permanent fix.
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.