dne/template-manager

Custom Template Manager

This package's canonical repository appears to be gone and the package has been frozen as a result.

Installs: 109

Dependents: 0

Suggesters: 0

Security: 0

Stars: 14

Watchers: 2

Forks: 4

Type:shopware-platform-plugin

3.0.0 2024-03-14 14:20 UTC

This package is auto-updated.

Last update: 2024-07-16 20:26:41 UTC


README

This plugin for Shopware 6 features a template code editor to easily extend existing storefront .twig templates.

The plugin offers the following features:

  • Lists all existing template files of the default storefront
  • Code editor with twig syntax highlighting for custom templates
  • Displays the contents of the original template for reference
  • Automatically prepends new templates with extension syntax matching the template to be extended
  • Stores custom templates in filesystem within the plugins directory structure
  • Languages: English, German

Requirements

3.0.0

  • Shopware >= 6.6

2.0.0

  • Shopware >= 6.5

1.1.2

  • Shopware >= 6.4

Installation

Clone this repository into a folder called DneTemplateManager within the custom/plugins directory of the Shopware installation.

  • Install the plugin through the Plugin-Manager within the Shopware backend.

Usage

The module will be accessible in backend by a new sub-menu entry called Custom Template Manager under Settings.

Regarding proper syntax and inheritance within template extensions please see the official documentation.

Custom templates are saved in ${SHOPWARE_ROOT}/custom/plugins/.customTemplate/storefront. It is possible to backup or transfer the contents of that folder for use in themes or other Shopware installations.