- Web templates
- E-commerce Templates
- Loaded Commerce
- E-Commerce Comparison
- E-commerce Comparison: Payment and Shipping methods
- E-commerce templates compatibility table
- CMS & Blog Templates
- CMS Comparison
- CMS templates versions compatibility
- Facebook Templates
- Website Builders
WooCommerce. How to override WooCommerce template files
April 1, 2016
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.
Templates files can be found within the /wp-content/plugins/woocommerce/templates/ directory.
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.
For example, if you need to overwrite file /wp-content/plugins/woocommerce/templates/archive-product.php, copy this file to /themes/themexxxx/woocommerce folder:
The copied file will now override the WooCommerce default template file.
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