2

I need to change the content of newsletter success email. I tried to override the subscr_success.html file in \Magento_Newsletter\templates\email\ folder in my custom theme. But it cannot be overridden. Can anyone suggest how can I do this? Thanks for your help..

2 Answers 2

3

You need to add your email tempaltes file directly to email folder without create templates folder,

app/design/frontend/{Vendorname}/{themename}/Magento_Newsletter/email/subscr_success.html

run command from system root folder,

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
3
  • Please let me know if you have issue yet. Oct 12, 2017 at 11:32
  • No issues.. Actually I had given wrong path.. Now its fixed after giving the right path..
    – Hima Mohan
    Oct 12, 2017 at 11:49
  • You can close this issue after accept as solutions so other users have useful in future. Oct 12, 2017 at 11:52
0

Just want to confirm Rakesh answer is working on Magento 2.4.2

app/design/frontend/{Vendorname}/{themename}/Magento_Newsletter/email/subscr_success.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.