Popup when the cart opens
A popup when the cart opens shows a recommendation offer as soon as a shopper opens their cart. This article shows how to set one up, when it appears on each kind of theme, and how it differs from the popup after adding to cart.
Before you start
- Turn on the app embed named Cart drawer and popups. See How to turn on the app embed.
- Use a product recommendation offer. Volume discounts and bundles cannot show in popups.
Set up the popup
- Open Offers and open a product recommendation offer, or create one.
- In the Where it shows section, select the Popup when cart opens tile (Once per visit).
- If the embed is off, select Open theme editor in the note and switch it on.
- Choose the products and discount, then save the offer.
- To check the design, choose Popup under Where to preview.
What shoppers see
The popup has the offer's heading as its title and a list of suggested products. Each row has the image, name, price and an Add to cart button. Products already in the cart are not suggested. The popup also has a View cart link and a Continue shopping button.
If a shopper adds a suggested product, the popup stays open and shows "Added to your cart." on that row. The shopper can close it with the close button, the Escape key, or by clicking outside it.
If the offer is already showing in the cart drawer or cart page, that offer is not shown again as a popup.
When it appears
| Where the cart opens | Does the popup show? |
|---|---|
| The cart page | Yes, once when the page loads. The View cart link is hidden because the shopper is already there. |
| The cart drawer on a Dawn family theme | Yes, when the drawer opens. |
| The cart drawer on a theme that reports a cart view itself | Yes, when the theme reports it. |
| The cart drawer on other themes, including the Horizon family | No. The app cannot tell when the drawer opens. |
When your theme is one where the app cannot tell when the drawer opens, the offer editor shows a note: "On your theme, this popup shows when the cart page loads. We can't tell when this theme's cart drawer opens." The popup still works on the cart page.
For the theme list, see Theme support for the cart drawer.
How it differs from the popup after adding
| Popup after adding to cart | Popup when cart opens | |
|---|---|---|
| Opens when | A shopper adds a product | A shopper opens the cart |
| Title | Added to your cart | The offer's heading |
| Shows the product just added | Yes | No |
If your drawer opens by itself after an add, only the popup after adding appears.
[!INFO] Popups are limited per visit and can be turned off on mobile. A shopper who has already seen the maximum number of popups does not see another until their next visit. See Popup frequency and mobile settings.
Related articles
- Popup after adding to cart
- Popup frequency and mobile settings
- Theme support for the cart drawer
- Why isn't the popup showing?
← Popup after adding to cart Popup frequency and mobile settings →