The easiest way to add your custom variables as a Settings Page for your Theme. Even with no expertise in PHP.
This plugin helps you to add extra product options (Extra Product Fields) to your WooCommerce product page.
Easily create custom variables that can be accessed globally in WordPress and PHP. Retrieval of information is extremely fast, with no database calls.