Add heading widget to the transactional email template

[MAILPOET-2278]
This commit is contained in:
Amine Ben hammou
2019-10-17 01:05:58 +01:00
committed by Jack Kitterhing
parent 6355fac294
commit 8b2bb9d69f

View File

@@ -142,51 +142,7 @@ class TransactionalEmails {
],
1 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'text',
'text' => '<p style="text-align: center;"><strong>WIDGET "WC HEADING" GOES HERE</strong></p>
<p style="text-align: center;"><strong>(instead of the column)</strong></p>',
],
],
],
],
'type' => 'woocommerceHeading',
],
2 =>
[