For the complete documentation index, see llms.txt. This page is also available as Markdown.

Introduction

Welcome to the official documentation of the Edit documents template plugin (HuebertCustomDocuments) by Hubyte for Shopware 6.

What does this plugin do?

This plugin lets you customize the Twig templates of Shopware's PDF documents – namely invoice, delivery note, credit note and cancellation invoice – directly in the administration. The layout, content and structure of the documents can be completely revised, without having to develop your own theme files or a custom plugin.

Customizations are made per document configuration (document type) and stored in the database. When a document is generated, your custom content, styles and templates are automatically merged into Shopware's standard document.

Core features

  • Editable document sections – Letter header, receiver, sender, positions, summary and footer with individual content (rich text) and individual CSS

  • Custom line items table – Freely edit the Twig template of the order items table (expert setting)

  • Custom summary – Customize the Twig template for the calculation/totals below the positions

  • Multilingual – Maintain content and templates per language (language switcher)

  • Hide delivery date – Hide the delivery date via a switch if needed

  • Live preview – Generate a PDF preview of the document using a real order, without creating a document

  • Load default templates – Restore the bundled default templates (table, styles, summary) with one click

Overview

Section
Description

Install and activate the plugin

Where to find the settings and how the interface is structured

Letter header, receiver, sender, positions, summary, footer

Customize the Twig template and CSS of the line items table

Customize the totals/calculation block below the positions

Generate a document preview using a real order

Available variables and practical examples

Answers to common questions

System requirements

  • Shopware 6.7.*

  • PHP 8.2 or higher

Note: This plugin does not modify any of Shopware's standard files. All customizations are stored as an extension of the respective document configuration and merged in during rendering. If the plugin is uninstalled (without keeping the data), the customizations are removed and Shopware's standard documents apply again.

Zuletzt aktualisiert