Skip to content

Commit 1220688

Browse files
Jeroenmageprince
Jeroen
authored andcommitted
Add VAT number to email source variables
1 parent f06f52c commit 1220688

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

app/code/Magento/Email/Model/Source/Variables.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ public function __construct()
4949
['value' => 'general/store_information/city', 'label' => __('City')],
5050
['value' => 'general/store_information/street_line1', 'label' => __('Street Address 1')],
5151
['value' => 'general/store_information/street_line2', 'label' => __('Street Address 2')],
52+
['value' => 'general/store_information/merchant_vat_number', 'label' => __('VAT Number')],
5253
];
5354
}
5455

app/code/Magento/Email/Test/Unit/Model/Source/VariablesTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ protected function setup()
5353
['value' => 'general/store_information/city', 'label' => __('City')],
5454
['value' => 'general/store_information/street_line1', 'label' => __('Street Address 1')],
5555
['value' => 'general/store_information/street_line2', 'label' => __('Street Address 2')],
56+
['value' => 'general/store_information/merchant_vat_number', 'label' => __('VAT Number')],
5657
];
5758
}
5859

app/code/Magento/Email/i18n/en_US.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ Region/State,Region/State
5454
City,City
5555
"Street Address 1","Street Address 1"
5656
"Street Address 2","Street Address 2"
57+
"VAT Number","VAT Number"
5758
"Store Contact Information","Store Contact Information"
5859
%1,%1
5960
"Template Variables","Template Variables"

0 commit comments

Comments
 (0)