SwissUpLabs Logo

Newsletter Popup

Screenshot

To create popup with newsletter form, create a new Lightbox banner with following values:

Field Value
Enabled Yes
Type Lightbox
Url Any dummy text (We will not use it)
Css Class no-border permanent-close-hide
Mode HTML Content

HTML Content:

<div class="easybanner-layout-book">
    <img src="{{media url='wysiwyg/samsung.png'}}" alt="" />
    <div class="content center">
        <h2 class="easybanner-title"><strong>Don't miss out!</strong></h2>
        <p>
            Sign up for our newsletter to get the latest news about our company,
            your favorite products, and great deals.
        </p>
        <div class="easybanner-newsletter">
            {{block class="Magento\Newsletter\Block\Subscribe" name="easybanner.newsletter-subscribe" template="Magento_Newsletter::subscribe.phtml"}}
        </div>
    </div>
</div>

Save the banner and check your store frontend.

p.s. Don’t forget to setup banner conditions to show it just once per client!

Next up

Edit this Page