Web Analytics

Fill the form & Get Installation Support

add extra field to newsletter subscription module magento2

The newsletter subscription module in Magento has only one field (email) by default. If you want to add  an extra field to the form (like the name), perform the following steps:

Magemonkeys/Newsletter/registration.php

Magemonkeys/Newsletter/etc/module.xml

Magemonkeys/Newsletter/Setup/InstallSchema.php

Magemonkeys/Newsletter/etc/di.xml

Magemonkeys/Newsletter/Controller/Subscriber/NewAction.php

Magemonkeys/Newsletter/view/adminhtml/layout/newsletter_subscriber_block.xml

Magemonkeys/Newsletter/view/frontend/templates/subscribe.phtml

Result :

Fill the below form if you have any Magento programming need.





    Recent Articles

    Author Info

    Author Image

    Magento Certified Developer

    Hire J. Lakum

    Get a Free Quote





      /* second popup */

      Connect With Us