Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
getSignupHtmlTemplateDe example
return
1607500561;
}
public
function
update
(
Connection
$connection
)
: void
{
// update customer registration
$mailUpdate
=
new
MailUpdate
(
MailTemplateTypes::MAILTYPE_CUSTOMER_REGISTER,
$this
->
getSignupPlainTemplateEn
(
)
,
$this
->
getSignupHtmlTemplateEn
(
)
,
$this
->
getSignupPlainTemplateDe
(
)
,
$this
->
getSignupHtmlTemplateDe
(
)
)
;
$this
->
updateMail
(
$mailUpdate
,
$connection
)
;
$mailSubjectUpdate
=
new
MailSubjectUpdate
(
MailTemplateTypes::MAILTYPE_CUSTOMER_REGISTER,
'Your sign-up with {{ salesChannel.translated.name }}'
)
;
$this
->
updateEnMailSubject
(
$connection
,
$mailSubjectUpdate
)
;