Magento customer password reset email

末鹿安然 提交于 2019-12-10 09:51:07

问题


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:


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



来源:https://stackoverflow.com/questions/19034753/magento-customer-password-reset-email

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!