Add heading widget to the transactional email template
[MAILPOET-2278]
This commit is contained in:
committed by
Jack Kitterhing
parent
6355fac294
commit
8b2bb9d69f
@@ -142,51 +142,7 @@ class TransactionalEmails {
|
|||||||
],
|
],
|
||||||
1 =>
|
1 =>
|
||||||
[
|
[
|
||||||
'type' => 'container',
|
'type' => 'woocommerceHeading',
|
||||||
'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>',
|
|
||||||
],
|
|
||||||
],
|
|
||||||
],
|
|
||||||
],
|
|
||||||
],
|
],
|
||||||
2 =>
|
2 =>
|
||||||
[
|
[
|
||||||
|
Reference in New Issue
Block a user