Add Coupon block to Book store Newsletter template
MAILPOET-4764
This commit is contained in:
committed by
Aschepikov
parent
526e631f6e
commit
14046affd7
@@ -451,13 +451,17 @@ class BookStoreWithCoupon {
|
|||||||
],
|
],
|
||||||
3 =>
|
3 =>
|
||||||
[
|
[
|
||||||
'type' => 'button',
|
'productIds' => [],
|
||||||
'text' => 'Coupon_Code',
|
'excludedProductIds' => [],
|
||||||
'url' => '',
|
'productCategories' => [],
|
||||||
'styles' =>
|
'excludedProductCategories' => [],
|
||||||
[
|
'type' => 'coupon',
|
||||||
'block' =>
|
'amount' => 10,
|
||||||
[
|
'amountMax' => 100,
|
||||||
|
'discountType' => 'percent',
|
||||||
|
'expiryDay' => 10,
|
||||||
|
'styles' => [
|
||||||
|
'block' => [
|
||||||
'backgroundColor' => '#ffffff',
|
'backgroundColor' => '#ffffff',
|
||||||
'borderColor' => '#125674',
|
'borderColor' => '#125674',
|
||||||
'borderWidth' => '3px',
|
'borderWidth' => '3px',
|
||||||
@@ -472,6 +476,7 @@ class BookStoreWithCoupon {
|
|||||||
'textAlign' => 'center',
|
'textAlign' => 'center',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
'code' => 'XXXX-XXXXXXX-XXXX'
|
||||||
],
|
],
|
||||||
4 =>
|
4 =>
|
||||||
[
|
[
|
||||||
@@ -1015,30 +1020,6 @@ class BookStoreWithCoupon {
|
|||||||
'backgroundColor' => '#ffffff',
|
'backgroundColor' => '#ffffff',
|
||||||
'backgroundColorAlternate' => '#eeeeee',
|
'backgroundColorAlternate' => '#eeeeee',
|
||||||
],
|
],
|
||||||
'button' =>
|
|
||||||
[
|
|
||||||
'text' => 'Coupon_Code',
|
|
||||||
'url' => '',
|
|
||||||
'styles' =>
|
|
||||||
[
|
|
||||||
'block' =>
|
|
||||||
[
|
|
||||||
'backgroundColor' => '#ffffff',
|
|
||||||
'borderColor' => '#125674',
|
|
||||||
'borderWidth' => '3px',
|
|
||||||
'borderRadius' => '40px',
|
|
||||||
'borderStyle' => 'solid',
|
|
||||||
'width' => '288px',
|
|
||||||
'lineHeight' => '50px',
|
|
||||||
'fontColor' => '#125674',
|
|
||||||
'fontFamily' => 'Courier New',
|
|
||||||
'fontSize' => '26px',
|
|
||||||
'fontWeight' => 'bold',
|
|
||||||
'textAlign' => 'center',
|
|
||||||
],
|
|
||||||
],
|
|
||||||
'type' => 'button',
|
|
||||||
],
|
|
||||||
'divider' =>
|
'divider' =>
|
||||||
[
|
[
|
||||||
'styles' =>
|
'styles' =>
|
||||||
|
Reference in New Issue
Block a user