本文介绍了Magento客户密码重置电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的情况:我有3个网站名为:网站A网站B网站C一站式安装.客户数据在全局视图中共享.当客户(在网站A上注册)要求在网站B上重设密码时,他将收到密码重设电子邮件,该电子邮件将其定向到网站A以重设密码.我不要我希望客户收到密码休息电子邮件,该电子邮件将其引导到websiteB.

My situation:I have 3 websites that named:websiteAwebsiteBwebsiteCall 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>

如何修改此代码以不使用{{store url =}},但仍能捕获客户ID和令牌信息?

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

推荐答案

Axel在上面提出的正确解决方案提供了一个答案:使用{{var customer.id}}和{{var customer.rp_token}}以在您的电子邮件中打印值

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

这篇关于Magento客户密码重置电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-28 04:29