Header, footer and overlaysOverlay group

Popovers section

The Popovers section of Borders shows small popovers: the cookies consent popover and text popovers with page visibility, delay and frequency.

The Popovers section shows small boxes that pop up over a corner of the page. It has two kinds of blocks: the Cookies popover, which asks customers for tracking consent, and Text popovers, for discounts or announcements.

Where to find it: Online Store → Themes → Edit theme → Overlay group → Popovers

Popover style

The section settings style every popover:

  • Radius rounds the corners, 0 to 30 px (default 10).
  • Show border adds a 1 px line around each popover (on by default).
  • Show shadow adds a shadow under each popover.

Several popovers that open at the same time stack one above the other.

Cookies popover

  • The Cookies block shows a consent message with an Accept and a Decline button.
  • Accept turns on analytics, marketing and preferences tracking for that customer through Shopify's Customer Privacy API. Decline turns them off. Shopify's pixels, analytics and checkout follow the choice.
  • Since Borders 3.2.0 the popover shows only to visitors in the regions where your store asks for cookie consent (Shopify admin → Settings → Customer privacy → Cookie banner). With Shopify's automated settings, that is the UK and the EEA when your store has active markets there. Other visitors never see it.
  • It shows until the visitor accepts or declines, in the popover or in Shopify's own cookie banner. Before 3.2.0 it showed to every visitor and remembered the answer only in that browser.
  • In the theme editor, the popover shows when you select the Cookies block.
  • The block's only setting is Color scheme. The message and button texts are theme texts: change them in Shopify admin → Online Store → Themes → … → Edit default theme content (search for "cookies").

Text popovers

  • Visibility sets the pages: All pages, Homepage only, Product pages only, Cart page only, or All pages except the homepage.
  • Content is the message. You can make words bold or italic and add links.
  • Show popup after sets the delay, 1 to 30 seconds (default 5).
  • Popup frequency sets how long the popover stays away after the customer closes it: Show each day (24 hours), Show each week (7 days) or Show once (never again). Before Borders 3.2.0 the third option was labelled Show each month and already showed the popover only once.
  • Editing a popover's Content shows it once more to customers who closed the old version.
  • Color scheme sets the colors of that popover.

Because of Visibility, you can have one popover per page type, for example a shipping note on product pages and a discount reminder on the cart page.

As with the newsletter popup, any popover which is closed will not appear to the customer a second time unless the set time has passed.

Setting up the cookies popover

In Shopify admin → Settings → Customer privacy → Cookie banner, check the regions where your store asks for cookie consent. The Borders popover shows only there.

To use only the Borders popover, choose Remove cookie banner on the same page, then set the same regions with Set custom banner regions (or, where your admin does not show it, Edit in the Regions section). If both banners stay on, answering either one closes the other. See Shopify's privacy settings.

Add the Cookies block

In the theme editor, open Overlay group → Popovers → Add block → Cookies. Choose its Color scheme.

Change the texts

In Shopify admin → Online Store → Themes → … → Edit default theme content, search for "cookies" and change the message and button labels.

Test in a private window

Save, then select the Cookies block in the theme editor to preview it. On the storefront, it appears only to visitors in a consent region; after Accept or Decline it does not appear again.

Shopify admin Online Store → Preferences page, Customer privacy card with Collected before consent and Collected after consent options for EEA and UK customers, with Collected after consent circled.

Setting up a discount popover on product pages

Add a Text block

Open Overlay group → Popovers → Add block → Text.

Write the message

Type the discount in Content, for example "Use code WELCOME10 for 10% off your first order".

Choose the pages

Set Visibility to Product pages only.

Set the timing

Set Show popup after and Popup frequency. Choose the Color scheme.

Test it

Save, and open a product page in a private window. Closing the popover hides it for the frequency period.

Shopify's own cookie banner and the Borders Cookies popover are both on. Answering either one closes the other. To keep only the Borders popover, in Shopify admin → Settings → Customer privacy → Cookie banner choose Remove cookie banner, then set the same regions with Set custom banner regions (or, where your admin does not show it, Edit in the Regions section). To keep only Shopify's banner, remove the Cookies block from the Popovers section. See Cookie consent popup and Cookie banner apps for GDPR compliance.

How many text popovers can I add?

There is no limit. Show only a few at a time, and give them different Show popup after delays, so they do not all appear at once. Use Visibility to spread them across page types.

All Popovers settings

Every setting on this page, with its type and default.

On this page