To add custom new fields to user registration form in Woocommerce follow the code snippet bellow. Here I’m adding two new fields to my Woocommerce user registration form (First Name and Last Name). You can easily add any custom fields following the same process.
To re-order product data tabs in Woocommerce we have to use the following code snippet. Here we assumed we have three tabs (Description, Reviews and Additional Information). We want to re-order the tabs like: 1. Description 2. Additional Information 3. Reviews
To rename any product data tab in Woocommerce, we have to write the following code snippet. Here I’m renaming the ‘Additional Information’ tab as ‘Specifications’
To change “Add to Cart” button text in archive products we have to write the following code snippet in functions.php. Here I’m changing the text as ‘Buy Now’. To do the same in Single Product page we have to write the following code snippet.