开发者

Magento - change address to which confirmation is sent after newsletter subscription

开发者 https://www.devze.com 2023-01-12 22:31 出处:网络
开发者_开发知识库By default, Magento sends out a confirmation email (to the user) after a user subscribes to the newsletter. Is it possible to change the email address to which the confirmation is sen

开发者_开发知识库By default, Magento sends out a confirmation email (to the user) after a user subscribes to the newsletter. Is it possible to change the email address to which the confirmation is sent?

Thanks


Refer to my answer to your question about changing the action path of the subscribe.phtml file. If you override the newAction in subscriberController.php, you will be able to add in all your extra requirements, such as emailing the store admin, changing the information in the outgoing email, etc.

There is a detailed walkthrough on the Magento wiki on how to configure Magento to use your custom controller instead of the core. This is best practice as it means that future patches/upgrades from Magento shouldn't break your customization.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号