[contact-form-7 id="24078" title="Feedback EN"]

Featured templates

WooCommerce. How to override WooCommerce template files

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:

    woocommerce_how_to_overwrite_templates_1

  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