Sunnysideup\Ecommerce\Model\Order::createReplacementArrayForEmail
returns the Data that can be used in the body of an order Email we add the subject here so that the subject, for example, can be added to the <title> of the email template.
we add the subject here so that the subject, for example, can be added to the <title> of the email template.
Signature
protected function createReplacementArrayForEmail([string
$subject = '',
[string
$message = '']] )
Parameters
$subject
— string- - (optional) subject for email
$message
— string- - (optional) the additional message
Returns
- ArrayData
- Subject - EmailSubject - Message - specific message for this order - Message - custom message - OrderStepMessage - generic message for step - Order - EmailLogo - ShopPhysicalAddress - CurrentDateAndTime - BaseURL - CC - BCC