Download the PHP package frosh/templatemail without Composer
On this page you can find all versions of the php package frosh/templatemail. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download frosh/templatemail
More information about frosh/templatemail
Files in frosh/templatemail
Download frosh/templatemail
More information about frosh/templatemail
Files in frosh/templatemail
Vendor frosh
Package templatemail
Short Description Store mail templates in theme
License MIT
Package templatemail
Short Description Store mail templates in theme
License MIT
Keywords shopwaretemplatemail
Please rate this library. Is it a good library?
Informations about the package templatemail
Store Shopware mail templates in theme
This plugin allows to store the mails in theme instead of database. This gives us advantages like
- easier deployment
- translate it using snippets
- build your mail template using includes / extends / blocks / inheritance
- usage of theme configuration
Requirements
- Shopware 5.4.x or higher
- PHP 7.0
Installation
- Download latest release
- Extract the zip file in
shopware_folder/custom/plugins/
Template location
Create a mail for a specific subshop or language shop (also inheritance in shops works)
Search order in example with sOrder:
HTML Template
themes/Frontend/MyTheme/email/sORDER-SHOPID.html.tpl
(Shop ID)themes/Frontend/MyTheme/email/sORDER.html.tpl
(Default)- Database saved values
Text Template:
themes/Frontend/MyTheme/email/sORDER-SHOPID.text.tpl
(Shop ID)themes/Frontend/MyTheme/email/sORDER.text.tpl
(Default)- Database saved values
Subject Template:
themes/Frontend/MyTheme/email/sORDER-SHOPID.subject.tpl
(Shop ID)themes/Frontend/MyTheme/email/sORDER.subject.tpl
(Default)- Database saved values
Loaders
Available loaders
Write your own loader
You can also implement your custom loader. Create a new class and implement the interface FroshTemplateMail/Components/Loader/MailLoaderInterface
and register it using tag frosh_template_mail.loader
.
Example
Contributing
Feel free to fork and send pull requests!
Licence
This project uses the MIT License.
All versions of templatemail with dependencies
PHP Build Version
Package Version
Requires
composer/installers Version
~1.0
The package frosh/templatemail contains the following files
Loading the files please wait ....