But the field is only populated correctly when an admin is logged in and he views the order.
When a non admin user is logged in and view an order, for example a shop manager (from WooCommerce), the field shows up, but no user is listed on the select-search: https://prnt.sc/osmnhl
I already tested disabling all the plugins, except for ACF and WooCommerce, and the result is the same.
Tested it in a clean WP with just Storefront theme, WooCommerce and ACF Pro enabled, and same result. No users in the metabox (for a field setup like the screenshot) if you are logged in as a non admin user.
I have the same problem when outputting custom user meta fields to the BBPress User Profile page. It outputs the values of those fields perfectly for anyone who has Admin role but for lower roles, even though the data is there, it doesn’t output. I am wondering if it has to do with the Permissions set on the Field Group (Add/Edit, Admin) but I thought this only affected the EDITING of those fields. Help?
Viewing 5 posts - 1 through 5 (of 5 total)
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