Support

Account

Home Forums Backend Issues (wp-admin) Add ACF to existing Woocommerce metabox Reply To: Add ACF to existing Woocommerce metabox

  • Gave it a shot. With the code below custom field data is not saved from the embedded field group. I’m also noticing ACF fields in other groups (added to the post type the normal way) is also not saved. When the Woocommerce code is removed other field group does save.

        add_action( 'woocommerce_product_options_general_product_data', function() {
            echo '<div class="options_group">';        
            acf_form([
                'field_groups' => [233],
                'form' => false,
            ]); 
            echo '</div>';
        });