How to override the subscribe.phtml form which is in vendor / magento / module-newsletter to add my input data and save it in my database table ?

  • what you have tried so far? – Amit Bera Aug 2 '19 at 9:12
  • Are you talking about subscribe.html or subscribe.phtml – Amit Bera Aug 2 '19 at 9:15
  • Do you want a new field in the newsletter subscription? – Dominic Xigen Aug 3 '19 at 0:09

If you have to override newsletter in theme than you have to add subscribe.phtml file in


Than you have to add below code in your footer block or call phtml in your footer.phtml file

{{block class="Magento\Newsletter\Block\Subscribe" name="static.newsletter" template="Magento_Newsletter::subscribe.phtml"}}

just do it and newsletter works properly

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.