Magento customer password reset email

2019-05-16 12:04发布

My situation: I have 3 websites that named: websiteA websiteB websiteC all in one magento installation. Customer data is shared in global view. When a customer(registered on websiteA) request a password reset on websiteB, he will receive a password reset email that direct him to websiteA to reset password. I don't want that. I want the customer to receive a password rest email that direct him to websiteB.

Code I found in password reset email:

<a href="{{store url="customer/account/resetpassword/" _query_id=$customer.id _query_token=$customer.rp_token}}">{{store url="customer/account/resetpassword/" _query_id=$customer.id _query_token=$customer.rp_token}}</a>

How can I modify this code to not use {{store url=}}, but still catch customer id and token information?

1条回答
祖国的老花朵
2楼-- · 2019-05-16 12:45

An answer provided by Axel above proposed correct solution: Use {{var customer.id}} and {{var customer.rp_token}} to print values in your email

查看更多
登录 后发表回答