Shopify sections

Shopify popup: pick the type by its job, then set trigger, audience and end date

A Shopify popup comes in two kinds, and the job decides which one you need: announcements and discount codes call for a triggered popup, e-mail capture calls for a form-based one such as the Shopify Forms app or the newsletter popup some themes include. Smart Popup is the first kind. It opens as a modal, slide-in or corner card after a delay, on scroll, on exit intent or on click, with page targeting, a schedule and a cap on repeat views. It can show a discount code but never collects e-mail addresses. Access is a one-time purchase or the Enterprise plan.

  • Proposed placement is the header group, so one block covers every page
  • Checkout never shows it, and the cart page is excluded by default

Last checked:

Smart Popup section rendered by Section Store with its sample content
Smart Popup with its sample content in the Modal style: a holiday shipping notice with an icon in place of an image and two buttons.

In detail

What the table does not show: the popup waits its turn and counts per campaign

Opens picks one of four triggers. Whichever you choose, the popup never opens in the first 3 seconds of a page view, and it holds back while another popup, the age gate or an open drawer is on screen.

On exit intent reacts to a pointer leaving the page, which only a mouse does. Phones have their own setting, On Phones, and it starts at Do not open. The alternative, Quick scroll back up, opens the popup when a shopper who has read a third of the page scrolls up fast. That is a guess at leaving, so read it as a separate trigger, not as exit intent on mobile.

On click turns the popup into something the shopper asks for. Any link to #popup, in a menu or a rich-text block, opens it; another element needs its CSS selector in Element to Click. A shipping notice behind a footer link, for example, interrupts nobody.

Show caps the repeats, and the count belongs to the campaign, not to the section: change the heading, text, code or dates and it counts as new, so shoppers who dismissed the old version see the new one. The state is stored in the browser, in localStorage and sessionStorage. The cap therefore holds per browser, not per customer account, and the same person on a phone and a laptop sees the popup on both.

A closed popup is not gone for the visit. Reopen Tab leaves a small tab in the corner, on the side chosen under Side, and Tab Label names it. Style switches between Modal, Slide-in and Corner card; the overlay settings and Side are conditional and appear only for the styles that use them.

  • The close button is always visible. Close by Clicking Outside is an extra way out, on by default.
  • No ticking countdown: a deadline appears only as a date line.
  • Keep the second button neutral, such as Not now. The builder note calls labels that shame the shopper for declining a dark pattern consumer authorities act against.
  • It honours prefers-reduced-motion.

Builder settings

Every builder setting of Smart Popup

Three rows decide most of the behaviour: Opens under Trigger, Show under Audience and Ends under Schedule. All of them are edited in the app builder. The theme editor lists the popup only as an app block with a section picker, spacing and device visibility.

Content11
Image (optional)Landscape or square. Without an image, the icon below is shown.
Image
DefaultNone
Image DescriptionConditional
Text
DefaultEmpty
IconConditional
Choice of 11, for example Truck; Gift; Calendar
DefaultTruck
Eyebrow
Text
DefaultHoliday shipping
Heading
Text
DefaultOrder by December 18 for delivery before Christmas
TextLeft at the English defaults, eyebrow, heading, text and buttons follow the shop language.
Text
DefaultSample text
ButtonLeave empty for no button.
Text
DefaultSee delivery dates
Button Link
Text
Default/pages/shipping
Second ButtonLeave empty for none. The close button is always there as well.
Text
DefaultContinue shopping
Second Button DoesConditional
Choice: Closes the popup, Opens a link
DefaultCloses the popup
Second Button LinkConditional
Text
DefaultEmpty
Offer4
Discount Code (optional)
Text
DefaultEmpty
CodeConditionalApply: the main button goes through /discount/<code>, so Shopify applies it at checkout. The shopper sees the code either way.
Choice: Copy button, Apply through the button
DefaultCopy button
Small Print (optional)
Text
DefaultEmpty
Show the End DateConditional“Offer ends Thu, 24 Dec, 23:59” from the schedule. No ticking countdown.
On / off
DefaultOn
Trigger5
Opens
Choice: After a delay, On scroll, On exit intent, On click
DefaultAfter a delay
DelayConditional
Slider, 3–60 s
Default8 s
Scroll DepthConditional
Slider, 10–90 %
Default40 %
On PhonesConditionalPhones have no pointer: “quick scroll back up” opens it when a shopper who read a third of the page scrolls up fast.
Choice: Do not open, Quick scroll back up
DefaultDo not open
Element to ClickConditionalA CSS selector. The default works with any link to #popup, e.g. in a menu or a rich-text block.
Text
Defaulta[href="#popup"]
Audience9
ShowCounted per campaign: change the heading, text, code or dates and it counts as new.
Choice: Every few days, Once per visit, Only once
DefaultEvery few days
Again AfterConditional
Slider, 1–60 days
Default7 days
Visitors
Choice: Everyone, First visit, Returning
DefaultEveryone
Show On
Choice: Every page, Selected pages
DefaultEvery page
PagesConditional
Text
Defaulthome, collection
Never OnSame format. Checkout never shows it.
Text
Defaultcart
Close by Clicking OutsideConditional
On / off
DefaultOn
Reopen TabAfter closing, a small tab in the corner lets the shopper open it again during the visit.
On / off
DefaultOn
Tab LabelConditional
Text
DefaultEmpty
Schedule3
Starts (optional)
Date and time
DefaultNot set
Ends (optional)
Date and time
DefaultNot set
Time Zone
Time zone
DefaultNot set
Style12
Style
Choice: Modal, Slide-in, Corner card
DefaultModal
Image PositionConditional
Choice: Left, Right, Top
DefaultLeft
SideConditionalAlso where the reopen tab sits.
Choice: Right, Left
DefaultRight
Text Alignment
Choice: Left, Center
DefaultLeft
Background
Colour
Default#ffffff
Text Color
Colour
Default#1c1b19
Button Color
Colour
Default#1c1b19
Button Text Color
Colour
Default#ffffff
Overlay ColorConditional
Colour
Default#1c1b19
Overlay OpacityConditional
Slider, 0–90 %
Default45 %
Corner Radius
Slider, 0–36 px
Default18 px
PreviewOnly changes this preview.
Choice: Popup, Reopen tab
DefaultPopup

44 settings in 6 groups. These are settings in the Section Store builder, not theme editor settings: read from the app's section configuration, as of 2 Dec 2026. "Conditional" settings appear only once a related setting turns them on.

When to use it

Use it for a real, time-bound message; skip it for sign-ups and invented deadlines

Use it when

  • Once per visitor, not on every page viewSet Show to Once per visit or Only once, and the popup stays shut on the next product or collection page. Every few days brings it back after the number of days in Again After.
  • A campaign with a fixed start and endFill Starts, Ends and Time Zone under Schedule, and the popup appears and stops without anyone switching it off at midnight. Show the End Date prints a line such as Offer ends Thu, 24 Dec, 23:59 from the same schedule, so the date shoppers read is the date the popup stops.
  • A code without an e-mail gateEnter the code under Discount Code and choose how it is handed over. Copy button lets the shopper copy it. Apply through the button sends the main button through /discount/<code>, so Shopify applies the code at checkout. The shopper sees the code either way.
  • Separate messages for new and returning visitorsVisitors offers Everyone, First visit and Returning. A section can exist up to 20 times with different settings, so one instance can greet first visits while a second carries a different message for returning shoppers.

Skip it when

  • E-mail sign-up popupSmart Popup has no form field. For sign-ups use a form-based popup: the Shopify Forms app, the newsletter popup of your theme if it has one, or the newsletter section from the same library in its popup mode, which uses the customer form of Shopify. The builder note recommends double opt-in for sign-ups.
  • Exit intent as the main trigger on a mostly mobile storeWith On Phones at its default, phone visitors never see an exit intent popup. If most of your traffic is on phones, set Opens to On scroll or After a delay.
  • A deadline that is not realThe builder note is blunt: only claim a deadline that is real, and keep price and stock claims true. For an ongoing message without an end, an announcement bar fits better than a popup with an invented cut-off. If a price is reduced, the same note points to the EU Omnibus rule: show the lowest price of the last 30 days where you advertise it.

Two ways

Coding the dialog is quick; the rules around it take the time

Opening a dialog over the page takes little code. A popup that respects frequency, dates, page rules, phones and other overlays needs far more logic than the dialog itself, which is why the outline below counts as only partly feasible.

Way 1

A dialog element written into the theme

Untested outline, not a finished listing, so no code here. Focus handling comes with the dialog element and the timer is easy; scheduling, targeting and the phone fallback are where the work sits.

  1. Render a dialog element with the offer text and a close button from a place in the theme that loads on every page.
  2. Call showModal() after a timer, past a scroll threshold, or on mouseleave at the top edge of the window.
  3. Write the dismissal with a timestamp to localStorage and read it before opening; that is the frequency cap.
  4. Add start and end dates, page rules and the first-visit check yourself.
  5. Give phones a separate trigger, since mouseleave never fires on a touch screen.
  6. Hold the dialog back while a cart drawer or a consent banner is open.

Choose this if: You maintain the theme code and need one fixed message on a timer, or something Smart Popup does not do, such as a sign-up form inside the same dialog. Then building it yourself is the better choice.

Way 2

Smart Popup as an app block in the header group

No JavaScript to write or maintain. Needs an Online Store 2.0 theme. Access: a one-time purchase of Smart Popup, or included in Enterprise.

  1. If the popup carries a code, create it in Shopify under Discounts first, with the same spelling, dates and conditions you promise in the popup.
  2. Set Smart Popup up in the app builder and add the Section Store app block to the header group, so it can open on any page; the documentation covers both steps.
  3. Check Show On and Never On before going live: the cart is excluded by default, and Selected pages starts with home and collection.

Choose this if: You want schedule, page targeting, visitor type and frequency caps without writing your own storage and timing logic, and the popup announces or offers something instead of asking for an address.

FAQ

Popups without an app, sign-up codes, other overlays and page weight

Smart Popup is in Section Store.

Set it up in the app builder and place it through the Section Store app block. No theme code.

Install on Shopify

Sources

Sources