How to Override WooCommerce Template Files
The template files of WooCommerce contain the markup and template structure for the front-end (and HTML emails) of your store. These template files can be found within the /woocommerce/templates/ directory.
You can edit these files in an upgrade safe way through overrides. Simply copy it into a directory within your theme named /woocommerce, keeping the same file structure.
Example: To overide the admin order notification, copy: woocommerce/templates/emails/admin-new-order.php to yourtheme/woocommerce/emails/admin-new-order.php
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 customisations will be lost.
- cart.php : your cart page
- cart-empty.php: your empty cart page
- archive-product.php: The list of products
- content-product: Each product in the archive page grid
WooCommerce Template Files not override. I am using woocommerce(Version 2.6.1 ) and theme sixteen. I want to override
product-image.php file . My new file location “themes/twentysixteen/woocommerce/product-image.php”. Please help me
Your new file location should be “themes/twentysixteen/woocommerce/single-product/product-image.php”. Try it and tell me if it works.