Overwrite email templates
If you want change the content of emails which are sent during an order you need to overwrite the give templates/partials.
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['partialRootPaths']['1588829281'] = 'EXT:sitepackage/Resources/Private/Partials/';
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['templateRootPaths']['1588829281'] = 'EXT:sitepackage/Resources/Private/Templates/';
Copied!
The files need then to be placed in a directory named Mail
.
The following tree view shows an example how the overwrite the mail template which is used when sending an email to the customer (=buyer) when the order is not payed yet ("open"). Furthermore the address partial is overwritten.
├── Partials
│ └── Mail
│ └── Address.html
└── Templates
└── Mail
└── Open
└── Buyer.html
Copied!