Skip to main content Skip to search Skip to main navigation
Shopware Payments ramp-up pricing for 12 months. Limited time only. Learn more
Diese Seite ist auch auf Deutsch verfügbar.
weedesign

Custom Template & Custom Twig

Rating: 4.9

Average rating of 4.88 out of 5 stars

(4 reviews)
Downloads: 137

Description

Highlights

  • Template editor for the Twig templates of your storefront and documents
  • Original Twig template shown read-only below your version
  • Version history with up to 25 versions per Twig template, date and user
  • Template editor inserts Twig filter names from a list of 60
  • View, Edit, Create and Delete permissions for the template editor

Features

  • Template editor under Extensions > Twig Manager
  • Storefront and Documents tabs with the core Twig template paths
  • Search field for the Twig template paths
  • Checkbox "edited" shows only the edited Twig templates
  • Edited Twig templates appear in bold in the list
  • New Twig templates start with the matching sw_extends line
  • Twig syntax highlighting in the template editor
  • Original content of the Twig template below the editor
  • Each save stores a version of the Twig template with user
  • Load an older version into the template editor
  • Delete an edited Twig template with a confirmation dialog
  • Template editor clears the Shopware cache after save and delete
  • Twig template files stored in custom/plugins/.customTemplate
  • Versions stay after a Twig template is deleted
  • Shopware core template files stay untouched by the template editor

About the Extension

Edit Twig templates right in the Administration

Twig Manager adds a template editor under Extensions > Twig Manager. It lists Shopware's core storefront templates and document templates, and you override them from the Administration, without FTP access and without building a theme plugin. Shopware loads the files in documents/includes from a fixed core path, so you override their blocks in invoice.html.twig, base.html.twig or another main document template.

How the template editor stores your changes

Your edited Twig templates are saved as files in custom/plugins/.customTemplate, in the folders storefront and documents. Shopware loads them through the plugin's own template namespace while the plugin is active.

  • A template that has not been edited yet opens with a sw_extends line for the original, so you override only the blocks you need
  • Shopware's original template files are never changed
  • After each save or delete, the Administration clears the Shopware cache
  • "Delete" removes your version of a template, and the original applies again

Find Twig templates of the storefront and documents

  • Two tabs: "Storefront" with the template files of the storefront and "Documents" with the document templates, such as invoice, delivery note, credit note and cancellation invoice
  • The search field filters the template paths, the checkbox "edited" shows only edited templates
  • Edited templates appear in bold with a file icon, the selected one is highlighted in blue

Template editor with Twig syntax highlighting

The code editor runs in Twig mode and is labelled "Twig template content for" plus the template path.

  • "Add twig filter" inserts a filter name from a list of 60, for example format_currency, sw_sanitize or striptags, at the cursor
  • Below the editor, the original template content appears read-only, so you can copy blocks from it
  • "Save" writes the template, and for edited templates "Delete" asks for confirmation first

Version history for each Twig template

Each save stores a version with date, time and the user who saved it. Before a delete, the last content is stored as a version too.

  • Up to 25 versions are kept per template, older ones are removed automatically
  • A click on a date shows that version in the preview ("Version from …")
  • "Load version into editor" copies it into the editor, ready to save
  • Versions stay after you delete a template, so you can bring its content back later

Template editor permissions for your team

The "Twig Manager" permission has four levels in the role settings, and the server checks them on save and delete.

  • View: browse templates, the original content and the version history
  • Edit: change templates that are already edited; Create: start new ones (Create includes Edit)
  • Delete: remove edited templates
  • Edit, Create and Delete include the permission "Clear cache", because each save and delete clears the cache

Twig templates on uninstall

The version history is stored in its own database table. Uninstalling with the option to delete all app data drops this table, while your template files stay in custom/plugins/.customTemplate.

Details

  • Available: English, German
  • Latest update: 18 November 2026
  • Publication date: 24 August 2024
  • Version: 2.1.0
  • Category: Administration

Resources

Reviews (4)

Average rating
4.9

Average rating of 4.88 out of 5 stars

Based on 4 reviews
5.0 Functionality
4.2 Usability
5.0 Documentation
5.0 Support

100 %
0 %
0 %
0 %
0 %

Write a review

If you downloaded this extension you can write a review in the Shopware Account.

Write a review
Top PlugIn und super Support!
5.0

Average rating of 5 out of 5 stars

by KSC
27 May 2026 13:15
Das PlugIn und der Support ist Top!
Nur zu Empfehlen.
5.0 Functionality
5.0 Usability
5.0 Documentation
5.0 Support
Einfach geht es nicht und dann noch so günstig
5.0

Average rating of 5 out of 5 stars

by Luca
2 August 2025 10:14
Bin absolut zufrieden. Plugins von weedesign sind bei uns absolut unverzichtbar!
5.0 Functionality
5.0 Usability
5.0 Documentation
5.0 Support
Top Plugin
5.0

Average rating of 5 out of 5 stars

by Seb
24 September 2024 15:50
Macht genau das, was es verspricht.
5.0 Functionality
5.0 Usability
5.0 Documentation
5.0 Support
Funktioniert tadellos, aber ist jetzt nicht mehr kostenlos. Schade.
4.5

Average rating of 4.5 out of 5 stars

by Michael
5 September 2024 19:21
-
5.0 Functionality
2.0 Usability
5.0 Documentation
5.0 Support

About the Extension Partner

Partner Status

  • Shopware Extension Partner Shopware
    Extension Partner

Details

  • Ø-Rating: 4.9

    Average rating of 4.9 out of 5 stars

  • Partner since: 2019
  • Extensions: 71

Support

  • Based in: Germany
  • Speaks: German, English
  • Response time: Very quickly