Skip to content

With this magento plugin you have the option to add and show some custom fields like firstname, lastname and salutation in the magento newsletter-subscription and save this to your database and newsletter-subscription-table.

Notifications You must be signed in to change notification settings

jannisbrandt/custom-fields-in-magento-newsletter-subscription

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Pattern Lab Logo

a plugin for custom fields in your magento newsletter subscription

With this magento plugin you have the option to add/show some custom fields like firstname, lastname and salutation in the magento newsletter-subscription. You see the fields in the magento-backend and of course in the frontend.
Report bug · Request feature · Magento Documentation

What's included

Within the download you'll find the following directories and files, logically grouping common assets and providing both compiled and minified variations. You'll see something like this:

NewsletterSubscription/
├── registration.php	
├── Subscriber.php	
└── etc/
	├── db_schema.xml
	├── di.xml module.xml
	├── module.xml
        
└── view/
    ├── adminhtml/
    │   ├── frontend/
    		├── newsletter_subscriber_block.xml
    │  
    │ 
    └── frontend/
        ├── templates/
        	├── subscribe.phtml
        

What you have to do?

1. Change the path to your plugin-file: in this example I use Module_
2. Create a Content-Page in Magento
3. In the content-area you have to add your custom template: {{block class="Magento\Newsletter\Block\Subscribe" template="Module_FewsletterSubscription::subscribe.phtml"}}

About

With this magento plugin you have the option to add and show some custom fields like firstname, lastname and salutation in the magento newsletter-subscription and save this to your database and newsletter-subscription-table.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published