Magento “Forgot Password” email sent in wrong language

前端 未结 8 955
暗喜
暗喜 2021-01-19 10:34

I have a Magento site with multiple languages. I have setup the language packs and everything seems to translate properly on the website. Also the transactional e-mails are

8条回答
  •  太阳男子
    2021-01-19 10:56

    In our case... We found that when a Customer Account was created by Admin the "email send from" option was not saved and only used for the first account creation email. Any subsequent email sent are sent from the default store view of the website the customer was allocated.

    The real problem is how, when the customer store id is identified when none is set.

    The method sendPasswordResetConfirmationEmail (Magento 1.9.1) when the store id is 0 (admin or not set), defaults to _getWebsiteStoreId which will return the first store id associated to that website.

    The problem is that Magento assumes the first store id associated with the website id is the default store... We found this is not the case when a Sort Order is set against the store record.

    Simply put make sure your default store assocaited with a web site is also specified with a sort order of 0.

提交回复
热议问题