0

I want to show custom thank you page after hitting the newsletter subscription button. Please help me in this.

1

Create a custom CMS Thank you page in admin after that override newsletter controller and redirect your controller to custom Thank you page.

  • Thanks BornCoder! Actually I did that but It wont work. I don't the reason why it does not work in my end. – MazeStricks Jan 16 '17 at 8:00
  • did you checked your controller is working or not after override ? and after adding redirect code in your controller , add exit or die() otherwise it will not display cms page to you. – BornCoder Jan 16 '17 at 8:02
  • I have no idea. I did not check it. can you give me a step by step instruction code in here. if you have time. thanks – MazeStricks Jan 16 '17 at 8:02
  • $this->_redirect('enewsletter'); like that one I added it. but still it wont work – MazeStricks Jan 16 '17 at 8:06
  • place exit after redirect and try and also check that it is coming till before redirect or not – BornCoder Jan 16 '17 at 8:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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