I’m trying to create a simplified interface for WooCommerce so that the site owner can easily enter the few fields they will be using for products in one place. I need to create a meta box that displays fields generated by WooCommerce.
The code that comes from WooCommerce looks like this:
woocommerce_wp_text_input( array( ‘id’ => ‘_regular_price’, ‘label’ => __( ‘Regular Price’, ‘woocommerce’ ) . ‘ (‘ . get_woocommerce_currency_symbol() . ‘)’, ‘data_type’ => ‘price’ ) );
I generated a field group with ACF that displays only on product pages and it shows up fine. I also exported it so that I could get to the PHP in my functions file. It looks like this: