Marketing - All in One: Setting Up Add-to-Cart Popup Components
The Add-to-cart popup component recommends other products in a popup as soon as a customer adds a product to their cart. Customers can select a variant and add recommended products to the cart directly in the popup, or click the checkout button to check out right away. For example, after a customer adds a dress to their cart, the popup can recommend a jacket or accessories in the same style, helping the customer reach the free shipping threshold and increasing your add-to-cart rate and average order value.
This guide covers the prerequisites for using the add-to-cart popup component and explains how to prepare a data source, create and configure the component, and enable the popup in your store. It also describes how the popup appears and how the popup frequency rules work.
Prerequisites for Using the Add-to-Cart Popup Component
Before you use the add-to-cart popup component, make sure that:
- You have installed the Marketing - All in One app.
- Your store uses an OS 3.0 or later theme.
- Your store's cart type is a cart drawer or cart popup. The Add-to-cart popup isn't currently supported on the cart page.
Preparing a Data Source for the Add-to-Cart Popup
The add-to-cart popup component must be connected to a data source whose placement is Add-to-cart popup. The data source determines which products are recommended in the popup. You can create a new data source while creating the component, or create one in advance under Data source.
Data sources for the Add-to-cart popup placement have the following characteristics:
- Number of recommended products: Up to 20 products are recommended by default, and you can set a maximum of 50.
- Trigger conditions: The following three conditions are supported, all based on the product the customer just added to the cart:
- Any condition: No restriction on the added product. The popup can be triggered when the customer adds any product.
- Products in cart: Triggered when the added product includes any of the specified products.
- Collections of products in cart: Triggered when the added product belongs to any of the specified collections.
- Recommendation methods: You can choose an AI recommendation strategy when creating the data source. After it's created, you can also specify recommended products and set recommendation rules.
Notes:
|
Creating an Add-to-Cart Popup Component
Follow these steps to create an add-to-cart popup component:
- In the Marketing - All in One app, go to Components and click Create.
- Enter a component name in Name, up to 50 characters.
- Keep Type set to Product recommendations.
Under Placement, select Add-to-cart popup.
- Under Data sources, select one of the following options:
- Create a new data source: Select an AI recommendation strategy under Recommendation strategy below. The data source will be created together with the component.
- Connect an existing data source: Select an existing data source whose placement is Add-to-cart popup.
- Click Create to go to the component's display settings page.
| Note: For general instructions on creating components, see "Marketing - All in One: Creating and Configuring Components." |
Configuring Display Settings for the Add-to-Cart Popup Component
On the display settings page, you can configure the component's style in the left panel and preview the result in real time on the right. Click the desktop or mobile icon at the top to switch the preview device.
The upper-right corner of the page shows the component's placement, type, and ID. Click the copy icon to copy the component ID.
Basic Information Settings
Under Basic information, Data source shows the data source the component currently uses. You can switch to another Add-to-cart popup data source from the drop-down menu, or click Edit to modify the current data source's settings in a new tab.
Popup Frequency Settings
Under Add-to-cart popup settings, use Popup frequency to control how often the same customer sees the popup:
- Unlimited: The popup appears every time the customer clicks an add-to-cart button and successfully adds a product to the cart. This is the default setting.
- Daily limit, Weekly limit, or Monthly limit: Set the popup to appear at most y times every x days, weeks, or months. x can be up to 50 and y up to 9999, and both must be positive whole numbers. The monthly limit uses a 30-day cycle.
| Note: The popup limit applies to the entire cycle you set. For example, "at most 2 times every 3 days" means the same customer sees the popup no more than 2 times in every 3 days, not 2 times per day. |
Section Title Settings
Under Section title, configure the title shown at the top of the popup:
- Text: Enter the popup title. The default is "You May Also Like," up to 40 characters.
- Text alignment: Set how the title is aligned.
- Text color: Set the title's text color.
Product Card Settings
Under Product card, configure how recommended products are displayed:
- Product image: Set the product image style, including:
- Aspect ratio: Select the image aspect ratio. 1:1, 2:3, and 3:4 are supported, and the default is 2:3.
- Image fit: Select a fill method, such as Cover or Contain.
- Corner radius, Thickness, and Opacity: Adjust the image's corner radius, border thickness, and opacity.
- Discount badge: When Show badge is turned on, products that qualify for a discount show a discount badge on the image. You can configure:
- Badge type: Select Save badge or Sale badge.
- Badge format: When Save badge is selected, you can show the Discount amount (for example, Save $3.00) or the Discount percentage (for example, 21% OFF).
- Discount badge color and Corner radius: Adjust the badge color and corner radius.
| Note: The crossed-out original price and the discount badge appear only when the product's selling price is lower than its original price. |
Add to Cart Button Settings
Under Add to cart button, configure the add-to-cart button for recommended products and the checkout button at the bottom of the popup:
- Show quantity selector: When turned on, product cards show a quantity selector so customers can choose how many to add. When turned off, each click of the add-to-cart button adds only 1 item.
- Button text: Set the add-to-cart button text. The default is "Add to cart," up to 30 characters.
- Button background color and Button text color: Set the button's background color and text color.
- Show Checkout button: When turned on, a Checkout button appears at the bottom of the popup, and customers can click it to go to the checkout page.
Previewing and Saving the Component
The preview on the right updates in real time as you change the settings. Products and cart data in the preview are for reference only. Check your online store for how the popup actually looks.
When you're done, click Save in the upper-right corner.
Enabling the Add-to-Cart Popup in Your Store
The Add-to-cart popup component is enabled through App embeds in the theme editor. You don't need to manually add an App block to your store pages. To enable the add-to-cart popup:
- From your SHOPLINE admin panel, go to Online Store > Design.
- Click Design for the OS 3.0 theme you want to edit.
- Click the App embeds icon on the left to open the App embeds list.
- Turn on All in one, then click the arrow next to it to open its settings.
- Under Show cart pop-up on, turn on each page where you want the popup to appear, including Home page, Collection pages, Product details, Search results, Blog posts, and Custom pages. Then enter the component ID in the Component ID field for each page you turned on. Different pages can use different components.
- Click Save in the upper-right corner.
Notes:
|
Understanding How the Add-to-Cart Popup Appears in Your Store
When a customer clicks an add-to-cart button in your store (such as the add-to-cart button on a product details page or the quick add button on a product listing page) and the product is added successfully, they see the added-to-cart message, the cart drawer, and then the add-to-cart popup.
The popup includes the following:
- Recommended product cards: Show the product image, title, selling price, crossed-out original price, and a variant drop-down menu. The first in-stock variant is selected by default. Sold-out variants are grayed out, marked "Sold Out," and can't be selected. The price updates when the customer switches variants.
- Add-to-cart button: When the customer clicks it, the selected product is added to the cart. The popup stays open, and the cart item count and amount at the bottom update. If the quantity selector is turned on, the product is added in the quantity the customer selected. Products added successfully are removed from the popup.
- Checkout bar at the bottom: Shows the cart icon, item count, the cart subtotal, and the Checkout button (if turned on). The subtotal doesn't include shipping or taxes, which are calculated at checkout.
Customers can close the popup and stay on the current page by clicking the close icon in the upper-right corner, clicking outside the popup, or pressing Esc on the keyboard. Clicking the Checkout button closes the popup and takes the customer to the checkout page to check out all products in the cart.
The popup isn't triggered when:
- The customer adds a product from within the popup.
- The customer changes a product quantity in the cart.
- The product fails to be added to the cart.
- The data source has no products to recommend.
- The customer has reached the popup frequency limit.
- A free gift campaign automatically adds a gift to the cart.
Understanding Popup Frequency Rules for the Add-to-Cart Popup
When you set a Daily limit, Weekly limit, or Monthly limit, the number of popups follows these rules:
- Counted per customer: Popups are counted separately for each customer. Popups the same customer triggers on different pages, such as the home page, product details page, and product listing page, share the same limit.
- Limit applies to the entire cycle: For example, "at most 2 times every 3 days" means the same customer sees the popup no more than 2 times in each 3-day cycle, not 2 times per day.
- Cycles follow your store's time zone: Cycles are based on calendar days, weeks, or months in your store's time zone. A cycle starts on the day the setting first takes effect. Weekly limits start on Monday of the current week, and monthly limits start on the 1st of the current month. When a cycle ends, the count resets, and unused popups don't carry over to the next cycle.
- Refreshing or closing doesn't affect the count: Refreshing the page or closing the popup doesn't reset the number of popups already counted.
- Counting across devices: Logged-in customers share the same limit across devices. Guest visitors are counted separately on each device.
Important Notes for the Marketing - All in One Add-to-Cart Popup
- Cart type limitation: The add-to-cart popup only supports stores that use a cart drawer or cart popup. The cart page isn't currently supported.
- Languages and currencies: The popup title doesn't support multiple languages yet and shows the text exactly as you set it. Recommended product names follow your store's language settings, and prices are shown in the currency of the customer's market.
- Popup display priority: When another app's popup is triggered at the same time as the add-to-cart popup, the Add-to-cart popup is shown first.
- Consecutive automatic adds: When multiple products are automatically added to the cart in a row, the popup is triggered only once and counts as one popup.
FAQs About the Marketing - All in One Add-to-Cart Popup
Q1: Why don't customers see the popup after adding a product to the cart?
Check the following:
- Whether your store uses a cart drawer or cart popup.
- Whether All in one is turned on under App embeds in the theme editor, and the correct add-to-cart popup component ID is entered for the relevant pages.
- Whether the customer has reached the popup frequency limit.
- Whether the data source has products to recommend.
Q2: Can I use different add-to-cart popups on different pages?
Yes. You can create multiple add-to-cart popup components and assign a different component ID to each page under Show cart pop-up on in the theme editor.
Q3: Does the popup close after a customer adds a product from it?
No. The popup stays open, and the cart item count and amount at the bottom update. Customers can keep adding other recommended products or click the Checkout button to go to the checkout page.