How to Override WooCommerce Template Files
Template files allow changing the markup and page structure of your online store frontend. From this tutorial you’ll learn how to override WooCommerce template files.
Overriding WooCommerce Сustom Template Files
- First, you need to log in to your hosting server cPanel. Here navigate to File Manager tool.
- Open wp-content/plugins/woocommerce/templates/ folder. Locate the file you need. Click on Download button in the top panel in order to download it to your hard drive.
- Navigate to wp-content/themes/your_theme-child/ directory and create woccommerce folder. You need to upload the files from templates folder here.
- When you’ve placed the file into woocommerce folder, the new template will override the default one.Keep in mind, that you can’t simply edit the plugin files because all the changes will be lost when updating.