ACF PRO has a feature that allows you to create options pages on the backend, but it won’t be able to alter or modify existing options pages. What you can do with this feature is to create a sub-options page where your vendor can input the data. To learn more about this, please check this page: https://www.advancedcustomfields.com/resources/options-page/.
After that, you can add a true/false field on the product that will let your vendor choose if they want to override the data in the options page or not. You can also use the conditional logic to hide the extra information fields if they don’t want to override it.
To make it unique for each vendor, you can set the ‘post_id’ in the options page. Maybe something like this:
'post_id' => 'options_user_' . get_current_user_id(),
Then you can get the value like this:
get_field( 'field_name', options_user_' . get_current_user_id() );
I hope this makes sense 🙂
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!
The ACF site is currently experiencing some issues.— Advanced Custom Fields (@wp_acf) September 29, 2022
We apologize for the inconvenience and we are working hard to get it back up and running as soon as possible.
© 2022 Advanced Custom Fields.