Search
Close this search box.
Search
Close this search box.

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/
      • cart.php : your cart page
      • cart-empty.php: your empty cart page
    • single-product.php
    • archive-product.php: The list of products
    • content-product: Each product in the archive page grid