A store admin can restore default templates and cancel any changes applied directly in the storefront via the Template Editor tool of the Theme Tweaker add-on.

To restore a customized template to its default state:

1. When logged in as a store administrator, open the Template Editor tool in the storefront.

541-template-editor-on.png

2. Locate a template you need to restore to the original state.

This can be done using one of the following ways:

  • navigating through the templates tree to the left;

541-template-editor-tree.png
  • enabling the Pick templates from page toggle and clicking on the page element that needs to be edited.

541-pick-templates-from-page-on.png

Every modified template will have a special Reset icon in front of it.

3. Click the Reset icon in front of the template you want to restore to the default state.

541-template-editor-tree-reset.png

4. Click Save.

541-template-editor-reset-save.png

5. Confirm the changes in the pop-up.

541-template-editor-reset-confirmation.png

This confirmation cancels any modifications applied to a template previously and restores the default template instead. However, the modified template is not deleted completely and can be enabled if required in the modified templates list in the store Admin area (Look & Feel -> Edited templates section).

Did this answer your question?