Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/FriendsOfShopware/FroshTemplateMailMjml
This plugin allows you to use MJML in your template mails
https://github.com/FriendsOfShopware/FroshTemplateMailMjml
Last synced: 3 months ago
JSON representation
This plugin allows you to use MJML in your template mails
- Host: GitHub
- URL: https://github.com/FriendsOfShopware/FroshTemplateMailMjml
- Owner: FriendsOfShopware
- License: mit
- Created: 2018-03-11T18:06:38.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2023-02-25T14:41:15.000Z (over 1 year ago)
- Last Synced: 2024-07-19T02:14:49.833Z (4 months ago)
- Language: PHP
- Homepage:
- Size: 43 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MJML Extension for FroshTemplateMail
## Requirements
* FroshTemplateMail installed
* MJML installed and available in PATH or with a web api## Template location
Example Mail **sORDER**
* HTML Template
* themes/Frontend/MyTheme/email/sORDER.html.mjml## Disable Cache
While developing set backend cache to `Blackhole` to disable cache. See guide https://en-community.shopware.com/_detail_1961.html#Debug_configuration
## Web API
If you cannot install mjml on the host, you can use the web api. Add the following configuration to your config.php
```php
'mjml_api' => 'https://user:[email protected]/v1/render'
```If you don't have a user account or public key, you can use this public available API endpoint.
```php
'mjml_api' => 'https://mjml.shyim.de'
```otherwise you can also host your own mjml server see [Repository](https://github.com/shyim/mjml-server)