All Collections
Look and Feel
Theme Tweaker (X-Cart 5.4.x and earlier)
Restoring Templates via Template Editor (X-Cart 5.4.x and earlier)
Restoring Templates via Template Editor (X-Cart 5.4.x and earlier)

Learn how to restore a customized template to the default state.

Olga Tereshina avatar
Written by Olga Tereshina
Updated over a week ago

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.
    โ€‹
    You can do this 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 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 edited templates list in the store Admin area (Look & Feel -> Edited Templates section).

Related pages:

Did this answer your question?