How to add extra Newsletter type in magento

How to add extra Newsletter type in magento

August 18, 2026 · Illustrated author avatarBy Stefan Bogdanescu
How to add extra Newsletter type in magento

Adding Extra Newsletter Subscription Types in Magento

Are you looking to expand your newsletter subscription options beyond just “General Subscription” in your Magento store? You’re not alone! Many merchants want to offer more targeted newsletters based on customer interests or product categories.

In this guide, I’ll show you how to add new newsletter subscription types like “New Arrival” and “Weekly Update” using simple configuration changes. By the end of this post, your customers will have a more personalized experience with your newsletters.

Step 1: Create New Subscription Types

First, we need to define our new subscription types in Magento’s database. This involves adding records to the newsletter_subscription_type table.

For “New Arrival”, you can add this SQL query:

INSERT INTO newsletter_subscription_type (name) VALUES ('New Arrival');

And for “Weekly Update”:

INSERT INTO newsletter_subscription_type (name) VALUES ('Weekly Update');

Step 2: Update the Newsletter Form

Next, we need to update the frontend forms where customers can sign up for your newsletters. Magento uses XML layouts and templates in /app/design/frontend/.

Locate the newsletter/subscriber/new.phtml template file in your current theme’s directory (e.g., vendor/magento/theme-frontend-blank). Add your new options to the subscription type dropdown:

<div class="field newsletter-subscription-type">
    <label for="type" class="label"><span><?= $block->escapeHtml(__('Subscription Type')) ?></span></label>
    <div class="control">
        <select id="type" name="type" data-role="newsletter-subscription-type">
            <option value="" label="<?php echo __('Please choose subscriber type') ?>"></option>
            <option value="<?php echo $block->escapeHtml(__('General Subscription')) ?>"<?php if ($type == 'general'): ?> selected="selected"<?php endif; ?>><?php echo __('General Subscription') ?></option>
            <option value="<?php echo $block->escapeHtml(__('New Arrival')) ?>"<?php if ($type == 'new_arrival'): ?> selected="selected"<?php endif; ?>><?php echo __('New Arrival') ?></option>
            <option value="<?php echo $block->escapeHtml(__('Weekly Update')) ?>"<?php if ($type == 'weekly_update'): ?> selected="selected"<?php endif; ?>><?php echo __('Weekly Update') ?></option>
        </select>
    </div>
</div>

Save the changes. Now, your newsletter signup form will display the new options.

Step 3: Handle New Subscriptions

When a customer submits their subscription details with one of the new types, Magento needs to know what to do with that data. We can handle this using Observer events and a simple PHP script.

Create an observer file in /app/code/Vendor/NewsletterSubscription/etc/events.xml:

<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
    <event name="newsletter_subscriber_save_before">
        <observer name="vendor_newsletter_subscription_handler" instance="Vendor\NewsletterSubscription\Model\SubscriberHandler"/>
    </event>
</config>

Then, create the Vendor/NewsletterSubscription/Model/SubscriberHandler.php class:

namespace Vendor\NewsletterSubscription\Model;

class SubscriberHandler implements \Magento\Framework\Event\ObserverInterface
{
    public function execute(\Magento\Framework\Event\Observer $observer)
    {
        $subscriber = $observer->getData('subscriber');
        $type = $subscriber->getType();

        if ($type === 'new_arrival' || $type === 'weekly_update') {
            // Add your logic here to handle the new subscription types
            // For example, you might add the subscriber to a specific group or send an email notification
        }
    }
}

Remember to replace Vendor with your actual namespace.

Wrapping Up

That’s it! With these changes, your Magento store will now offer multiple newsletter subscription options. As you can see, adding new types is quite straightforward and doesn’t require extensive coding.

I recommend exploring Laravel for more advanced newsletter management features once your business grows. Laravel provides a robust framework for building scalable web applications with powerful email handling capabilities.

For more information on Magento development best practices, be sure to check out our comprehensive guides at Laravel Company. We cover everything from theme customization to extension development to ensure you get the most out of your eCommerce platform.

Catalog Database API Themes

Our network