

), but WooCommerce offers simple functions for easily adding fields of any types. woocommerce_product_options_advanced (“Advanced”)Īs for outputting a form input you could manually output the form input HTML (e.g.woocommerce_product_options_attributes (“Attributes”).woocommerce_product_options_related (“Linked Products”).woocommerce_product_options_shipping (“Shipping”).woocommerce_product_options_inventory_product_data (“Inventory”).woocommerce_product_options_general_product_data (“General”).

This is a list of the most general available hooks: So not only should you consider where your custom fields logically fits in, but you need to consider a panel that is visible for all your desired product types. For example, “General” tab gets removed when you switch to a grouped product type. Keep in mind that tab visibility differs depending on product type.
