Feature: #843 - Emails on status changes of orders
See Issue 843
Description
EXT:cart sends emails when the payment or the shipping status of an order is
changed, for the transitions configured in the site settings
extcode. and
extcode. of the site of the order:
extcode:
cart:
statusChange:
mail:
payment:
pendingToPaid:
from: pending
to: paid
recipients: [buyer]
The addresses of the recipients buyer and seller are the ones of the
site settings extcode. (site set extcode/, see
#845). The emails get the attachments of the Attachment like the
emails at the end of an order. As the site is the one of the storage folder
of the order, the emails are sent on the command line too. The template of
the example is Mail/.
The listener \Extcode\ of the
After sends the emails. Listeners of this event can add
errors (add), which are returned in Status
and shown to the editor in the backend, e.g. if an email can not be sent.
Impact
The feature is experimental and disabled by default. It is enabled with the
feature toggle cart.:
$GLOBALS['TYPO3_CONF_VARS']['SYS']['features']['cart.experimental.statusChangeMails'] = true;
Classes and the configuration of the feature may change in minor versions, even incompatibly.
No emails are configured by default, the emails at the end of an order are not changed.