Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
getOrderStatusUpdateHtmlTemplateEn example
public
function
getCreationTimestamp
(
)
: int
{
return
1571990395;
}
public
function
update
(
Connection
$connection
)
: void
{
// update DELIVERY_STATE_SHIPPED_PARTIALLY
$this
->
updateMailTemplateTranslation
(
$connection
,
MailTemplateTypes::MAILTYPE_STATE_ENTER_ORDER_DELIVERY_STATE_SHIPPED_PARTIALLY,
$this
->
getOrderStatusUpdateHtmlTemplateEn
(
)
,
$this
->
getOrderStatusUpdatePlainTemplateEn
(
)
,
'{{ salesChannel.name }}',
'Your order with {{ salesChannel.name }} is partially delivered',
$this
->
getOrderStatusUpdateHtmlTemplateDe
(
)
,
$this
->
getOrderStatusUpdatePlainTemplateDe
(
)
,
'{{ salesChannel.name }}',
'Bestellung bei {{ salesChannel.name }} wurde teilweise ausgeliefert'
)
;
// update DELIVERY_STATE_RETURNED_PARTIALLY
$this
->
updateMailTemplateTranslation
(