WooCommerce template files contain the markup and template structure for frontend and HTML emails of your store.

When you open these files, you will notice they all contain hooks that allow you to add/move content without needing to edit template files themselves. This method protects against upgrade issues, as the template files can be left completely untouched.

Template files can be found within the /WPEP/templates/ directory.

How to Edit Files

Edit files in an upgrade-safe way using overrides. Copy the template in a directory within your theme named /WPEP keeping the same file structure but removing the /templates/ subdirectory.

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

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

Did this answer your question?