Skip to content

Commit

Permalink
MAGETWO-77226: Add VAT number to email source variables #10996
Browse files Browse the repository at this point in the history
  • Loading branch information
vrann authored and Jeroen van Leusden committed Oct 16, 2017
1 parent d2cbddd commit d06d1dc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/code/Magento/Email/Model/Source/Variables.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public function __construct()
['value' => 'general/store_information/city', 'label' => __('City')],
['value' => 'general/store_information/street_line1', 'label' => __('Street Address 1')],
['value' => 'general/store_information/street_line2', 'label' => __('Street Address 2')],
['value' => 'general/store_information/merchant_vat_number', 'label' => __('VAT Number')],
];
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ protected function setup()
['value' => 'general/store_information/city', 'label' => __('City')],
['value' => 'general/store_information/street_line1', 'label' => __('Street Address 1')],
['value' => 'general/store_information/street_line2', 'label' => __('Street Address 2')],
['value' => 'general/store_information/merchant_vat_number', 'label' => __('VAT Number')],
];
}

Expand Down
1 change: 1 addition & 0 deletions app/code/Magento/Email/i18n/en_US.csv
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ Region/State,Region/State
City,City
"Street Address 1","Street Address 1"
"Street Address 2","Street Address 2"
"VAT Number","VAT Number"
"Store Contact Information","Store Contact Information"
%1,%1
"Template Variables","Template Variables"
Expand Down

0 comments on commit d06d1dc

Please sign in to comment.