From 8b2bb9d69fe1c9a7098be4c9e3a9ddf8e02c84f1 Mon Sep 17 00:00:00 2001 From: Amine Ben hammou Date: Thu, 17 Oct 2019 01:05:58 +0100 Subject: [PATCH] Add heading widget to the transactional email template [MAILPOET-2278] --- lib/WooCommerce/TransactionalEmails.php | 46 +------------------------ 1 file changed, 1 insertion(+), 45 deletions(-) diff --git a/lib/WooCommerce/TransactionalEmails.php b/lib/WooCommerce/TransactionalEmails.php index 09aaa9f573..152bc284f5 100644 --- a/lib/WooCommerce/TransactionalEmails.php +++ b/lib/WooCommerce/TransactionalEmails.php @@ -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' => '

WIDGET "WC HEADING" GOES HERE

-

(instead of the column)

', - ], - ], - ], - ], + 'type' => 'woocommerceHeading', ], 2 => [