Support

Account

Home Forums Backend Issues (wp-admin) adding a field group to admin page Reply To: adding a field group to admin page

  • Hi @mancer

    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 🙂