首页 > 解决方案 > 在 Magento 1.9 的 forgotPasswordPost 方法中使用时,loadByEmail() 没有获取客户详细信息?

问题描述

我尝试了 3 种不同的方法,但没有一种方法有效。我在文件中的代码是 -

      $customer = $this->_getModel('customer/customer')
                 ->setWebsiteId(Mage::app()->getStore()->getWebsiteId())
                 ->loadByEmail($email);

它什么也不返回。

请就此提出一些解决方案。

标签: phpmagento-1.9forgot-password

解决方案


推荐阅读