Skip to content

Commit bda9d7a

Browse files
Hwashiang Yunathanjosiah
authored andcommitted
MC-20549: Refactor CE modules E-mail templates to use scalars variables
- Added extra template variables back to templates
1 parent 6f72c20 commit bda9d7a

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

app/code/Magento/Customer/view/frontend/email/account_new_confirmation.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<!--@vars {
99
"var store.frontend_name":"Store Name",
1010
"var this.getUrl($store,'customer/account/confirm/',[_query:[id:$customer.id,key:$customer.confirmation,back_url:$back_url],_nosid:1])":"Account Confirmation URL",
11+
"var this.getUrl($store, 'customer/account/')":"Customer Account URL",
1112
"var customer.email":"Customer Email",
1213
"var customer.name":"Customer Name"
1314
} @-->

app/code/Magento/Customer/view/frontend/email/password_new.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<!--@subject {{trans "Reset your %store_name password" store_name=$store.frontend_name}} @-->
88
<!--@vars {
99
"var store.frontend_name":"Store Name",
10+
"var this.getUrl($store, 'customer/account/')":"Customer Account URL",
1011
"var this.getUrl($store,'customer/account/createPassword',[_query:[id:$customer.id,token:$customer.rp_token],_nosid:1])":"Password Reset URL",
1112
"var customer.name":"Customer Name"
1213
} @-->

app/code/Magento/Customer/view/frontend/email/password_reset.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
-->
77
<!--@subject {{trans "Your %store_name password has been changed" store_name=$store.frontend_name}} @-->
88
<!--@vars {
9+
"var customer.name":"Customer Name",
910
"var store.frontend_name":"Store Name",
1011
"var store_email":"Store Email",
1112
"var store_phone":"Store Phone"

0 commit comments

Comments
 (0)