Custom tab in Woocommerce product page without plugins
To add a custom tab to the WooCommerce product page, first copy the following code into the functions.php file: Now, in the format specified, add your desired questions and answers to the code, and finally specify in which category of products this tab should be displayed.