---
title: Template Editor for WooCommerce
description: "## Overview Editing a template file in WooCommerce seems complex and tiring? *We understand it totally. *But this doesn’t mean you should ever edit or delete the WooCommerce Template files directly. Your whole WooCommerce installation depends on these files. Use the **Template Editor **plugin…"
url: "https://booster.io/docs/woocommerce-template-editor/"
updated: "2023-11-03"
category: "Emails & Miscellaneous"
---

# Template Editor for WooCommerce

## Overview

Editing a template file in WooCommerce seems complex and tiring? *We understand it totally. *But this doesn’t mean you should ever edit or delete the WooCommerce Template files directly. Your whole WooCommerce installation depends on these files.

Use the **Template Editor **plugin to edit your WooCommerce Template files effortlessly.

With this plugin installed on your store, there will be no need to follow the long process, i.e. creating the duplicate theme/template file and working on it. Instead, you will be able to edit any file of the template using the frontend editor from the template editor plugin itself.

## How to Install the Template Editor Plugin on Your Store?

- Download, install, and activate the plugin [Booster for WooCommerce](https://booster.io/) on your store.
- Go to **Booster > EMAIL & MISC. > Template Editor**.
- Click on the **Enable **checkbox for the **Template Editor**
- Click on the **Save Changes** button.

![](https://booster.io/wp-content/uploads/Template-Editor-1.png)

## General Options

In this section, the administrator has to specify the **Path(s)** of the files to be edited.

You may specify one path per line relative to the following address (for your **WooCommerce Template** folder):

/var/www/html/booster.io/public_html/wp-content/plugins

![](https://booster.io/wp-content/uploads/Template-Editor-2.png)

For example, if you just want to edit the files from the **Auth** folder in your WooCommerce template using the **Template Editor Plugin**, the path has to be “/woocommerce/template/auth”.

It will load the related files as options in the **Template > Templates to Edit** input field.

![](https://booster.io/wp-content/uploads/Template-Editor-3.png)

On the other hand, if you want to edit multiple WooCommerce Template files using the **Template Editor** **Plugin** for WooCommerce, the path will be “/woocommerce/templates/”.

It will make all the files of the WooCommerce template folder and its nested folders available for editing through the frontend editor.

![](https://booster.io/wp-content/uploads/Template-Editor-4.png)

As per the examples shared above, enter one path per line as per in the **Paths **field.

## Templates

In the **Templates** section, you have got the options to select the template(s) to be edited and the template editor(s). The options in this field will depend upon the selection you’ve made in the **General Options >** **Paths** field.

- Select a template to edit using the dropdown in the **Templates to Edit**
- Click on the **Save Changes** button to load the selected file(s) in the **Template Editor**.

![](https://booster.io/wp-content/uploads/Template-Editor-5.png)

- To view the original/default and replaced path of the file, you may click on the **Info** accordion (the expandable and collapsible section).

![](https://booster.io/wp-content/uploads/Template-Editor-6.png)

- Now, you can edit the file in the editor without worrying about messing the original code up. The **Template Editor **will automatically create a file for your input in the **“woocommerce_uploads/wcj_uploads/templates”**
- Click on the **Save Changes **button to apply changes to the file you are editing.

Similar to the above example, you may load 2 or more files in the **Template Editor Plugin – Booster.**

![](https://booster.io/wp-content/uploads/Template-Editor-7.png)

In this case, you will have multiple editor fields on the plugin settings page.

![](https://booster.io/wp-content/uploads/Template-Editor-8.png)

Here is another example with different WooCommerce template files selected for editing –

![](https://booster.io/wp-content/uploads/Template-Editor-9.png)

### How to Find the path of the WooCommerce Template File to be edited?

- Visit the [Template List](https://woocommerce.com/document/template-structure/#template-list) section of the page by clicking the given link.
- Click on the **Expand to view links to the template files of all versions** accordion, in order to view the list of various WooCommerce versions.

![](https://booster.io/wp-content/uploads/Template-Editor-10.png)

- Click on the **View Template Files** link, adjacent to your current WooCommerce version. For example, [2.0 files can be found here](https://woocommerce.com/document/template-structure/#template-list).
- Try to understand the folder structure and locate the file (or find the path) using the Github directory.

![](https://booster.io/wp-content/uploads/Template-Editor-11.png)

## Reset Settings

- Click on the **Reset Settings**
- Click on the **OK **button when the browser alert pops up. It will clear the edited WooCommerce template files from your store and restore the default plugin settings, meaning that your original WooCommerce template files will be in use again.
