Add New Tab & Setting to WooCommerce Products

The snippet below is an example of how you could add custom settings to the default WooCommerce single product editor tabs. These settings will be stored in the post meta so you can easily access them on the front-end. It’s a great way to extend your product functionality via a plugin or child theme.