Skip to main content Skip to search Skip to main navigation
Meet Shopware Payments Fast. Powerful. Yours to control. Discover payments
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: 133

Description

Highlights

  • Edit storefront and document Twig templates in a built-in code editor with Twig syntax highlighting
  • Original files stay untouched, all changes are written to a separate override directory
  • Read-only view of the original template content right next to the editor
  • Version history with timestamp and user name for every save and delete, restorable into the editor
  • Four separate permission roles for viewing, editing, creating and deleting, integrated into the role administration

Features

  • Own administration module with a menu entry under Extensions
  • Tab switch between the storefront template list and the document template list
  • Alphabetically sorted list of all template paths of the selected area
  • Search field that filters the list by path while typing
  • Checkbox to show only templates that already have an override
  • Templates with an override are marked with their own icon in the list
  • Templates without an override open with a prepared sw_extends inheritance statement
  • Selection list with 60 Twig filters that inserts the chosen filter at the cursor position
  • Entity autocompletion inside the editor
  • Up to 25 versions are kept per template, older entries are pruned automatically
  • Selecting a version shows its content in the comparison pane before you load it
  • Version entries show first and last name of the editor, falling back to the user name
  • Cache is cleared automatically after saving and after deleting
  • Confirmation dialogue before an override is removed
  • Path validation blocks directory traversal, null bytes and files without a .twig ending

About the Extension

Template work usually means file access, a deploy step and a good deal of trust that nobody overwrites the original files. This extension moves that work into the administration.

A new menu entry under Extensions opens a two-column view. On the left, every available Twig template of the selected area is listed by path, either the storefront templates or the document templates. On the right, the selected template opens in a code editor with Twig syntax highlighting, next to a read-only view of the original file so you always see what you are changing.

Nothing is written back into the original template files. Every edit is stored as an override in a dedicated directory inside the project, which is registered with the template loader automatically. If a template has no override yet, the editor opens with a prepared inheritance statement, so you only add the blocks you actually want to change. Deleting an override removes just that file and the original template applies again.

Every save and every delete writes a snapshot into an own database table, together with the timestamp and the name of the person who made the change. The last 25 versions per template are kept and older entries are removed automatically. Select a version to view its content in the comparison pane and load it back into the editor when you want it.

Access is controlled through four roles that appear in the standard role administration: view, edit, create and delete. The save request checks at runtime whether an override already exists and asks for the matching create or update permission. All incoming paths are validated, so directory traversal, null bytes and non-Twig files are rejected before any file operation happens. The cache is refreshed after each save and delete, and the administration interface ships in German and English.


For correct Twig template syntax and extension options, see official documentation on this topic.


Custom templates are stored in the ${SHOPWARE_ROOT}/custom/plugins/.customTemplate/storefront directory. It is therefore possible to copy the directory as a backup or transfer it to other Shopware installations.


If you would like to edit your store's CSS and/or JavaScript, please check out the Add custom CSS and JS plugin

Details

  • Available: English, German
  • Latest update: 12 August 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: 50

Support

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