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 ?
0
If you have to override newsletter in theme than you have to add subscribe.phtml
file in
design/frontend/themename/theme/Module_Newsletter/templates/subscribe.phtml
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
subscribe.html
or subscribe.p
html – Amit Bera♦ Aug 2 at 9:15