WooCommerce Variable Product Custom Field

I would like to add a custom field to both regular products and variable products.

I am planning on using these hooks:
woocommerce_variation_options_pricing and woocommerce_product_options_pricing.

My question is, can I safely use the same custom field ID for both the regular product and variable product?

Read more here:: WooCommerce Variable Product Custom Field

Leave a Reply

Your email address will not be published. Required fields are marked *