Magento customer password reset email

magentopasswordsreset

My situation:
I have 3 websites that named:
websiteA
websiteB
websiteC
all in one Magento installation. Customer data is shared in a global view. When a customer (registered on websiteA) requests a password reset on websiteB, they will receive a password reset email that directs them to websiteA to reset the password. I don't want that. I want the customer to receive a password reset email that directs them 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?

Best Answer

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

Related Topic