Featured templates

WooCommerce. How to override WooCommerce template files

Carey Burns April 1, 2016
Rating: 4.0/5. From 3 votes.
Please wait...

Our Support team is ready to present you a new tutorial that shows how to overwrite WooCommerce templates files.

WooCommerce. How to override WooCommerce temlates files

WooCommerce template files contain the markup and template structure for front-end of your store.

You can edit these files in an upgrade-safe way using overrides.

  1. Templates files can be found within the /wp-content/plugins/woocommerce/templates/ directory.

  2. Copy the needed file into the directory within your theme named woocommerce (create if it does not exist), keeping the same file structure but removing the templates subdirectory.

  3. For example, if you need to overwrite file /wp-content/plugins/woocommerce/templates/archive-product.php, copy this file to /themes/themexxxx/woocommerce folder:

  4. The copied file will now override the WooCommerce default template file.

  5. Do not edit these files within the core plugin itself as they are overwritten during the upgrade process and any customizations will be lost.

Feel free to check the detailed video tutorial below:

WooCommerce. How to override WooCommerce temlates files
Top Wordpress Themes
This entry was posted in WooCommerce Tutorials and tagged default, files, override, template, WooCommerce. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket