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?
An answer provided by Axel above proposed correct solution: Use {{var customer.id}} and {{var customer.rp_token}} to print values in your email