Skip to content

Commit 0a95049

Browse files
Hwashiang Yunathanjosiah
authored andcommitted
MC-20549: Refactor CE modules E-mail templates to use scalars variables
- Fix email template static test failures
1 parent 702c4a4 commit 0a95049

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

app/design/frontend/Magento/luma/Magento_Customer/email/account_new.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@
66
-->
77
<!--@subject {{trans "Welcome to %store_name" store_name=$store.frontend_name}} @-->
88
<!--@vars {
9-
"var this.getUrl($store, 'customer/account/')":"Customer Account URL",
9+
"var store.frontend_name":"Store Name",
10+
"var this.getUrl($store,'customer/account/',[_nosid:1])":"Customer Account URL",
1011
"var customer.email":"Customer Email",
11-
"var customer.name":"Customer Name"
12+
"var customer.name":"Customer Name",
13+
"var this.getUrl($store,'customer/account/createPassword/',[_query:[id:$customer.id,token:$customer.rp_token],_nosid:1])":"Password Reset URL"
1214
} @-->
1315

1416
{{template config_path="design/email/header_template"}}

app/design/frontend/Magento/luma/Magento_Email/email/footer.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@
66
-->
77
<!--@subject {{trans "Footer"}} @-->
88
<!--@vars {
9-
"var store.frontend_name":"Store Name"
9+
"var store.frontend_name":"Store Name",
10+
"var url_about_us":"About Us URL",
11+
"var url_customer_service":"Customer Server URL",
12+
"var store_phone":"Store Phone",
13+
"var store_hours":"Store Hours",
14+
"var store.formatted_address|raw":"Store Address"
1015
} @-->
1116

1217
<!-- End Content -->

0 commit comments

Comments
 (0)