# Post-purchase best practices Source: https://docs.aftersell.com/aftersell/best_practices A complete strategy guide for building, optimizing, and scaling your post-purchase upsell funnels in Aftersell # Post-purchase best practices This guide covers everything you need to build a high-performing post-purchase upsell strategy in Aftersell - from funnel architecture and product selection to discount strategy, copy and design, industry-specific playbooks, and testing. Whether you are setting up your first funnel or optimizing an existing setup, these best practices are based on patterns from top-performing Aftersell merchants. > [!TIP] > > Want real-world examples from top brands? [Download our Upsell Playbook](https://www.aftersell.com/upsell-playbook) for proven strategies and case studies you can apply to your store today. > [!NOTE] > > Looking for checkout widget best practices? See [Checkout Best Practices](/aftersell/checkout_best_practices). *** ## Funnel architecture Your funnel architecture determines which customers see which offers, and in what order. Getting this right is the single biggest lever for post-purchase revenue. ### How the post-purchase funnel flow works Before building funnels, make sure you understand how the offer flow works. For a full walkthrough, see [Post-purchase Overview](/aftersell/post_purchase_overview). In short: after checkout, Upsell #1 is shown. If the customer accepts, Upsell #2 is shown as a follow-up. If the customer declines, a Downsell is shown instead. After all offers are completed, the customer lands on the Thank You Page. > [!WARNING] > > Shopify limits customers to a maximum of 3 accepted post-purchase offers per order. Only one product can be selected per upsell step. Plan your funnel depth with these limits in mind. ### Start with your hero products Build dedicated funnels for your 3 to 6 highest-volume products first. These are the items that generate 60 to 80% of your store's revenue, and targeting them ensures your highest-traffic orders always see a relevant, optimized upsell. Traits of a hero product: * High sales volume and strong contribution to profitability * Market leadership in their category * Broad customer appeal and positive reviews * Receives dedicated marketing efforts and promotion ### Set up a catch-all funnel A catch-all funnel ensures that every order - even those that do not match your hero product funnels - still sees an upsell offer. This is one of the most commonly missed steps, and skipping it means leaving revenue on the table. How to set it up: 1. Set the trigger to "Show for All Customers" 2. Assign it the **lowest priority** so it only fires when no other funnel matches 3. Include Thank You Page upsells in this funnel for full post-purchase coverage You can adjust funnel priority by clicking the **Manage Priority** button at the top right of the funnel table. ### Use Smart Funnel as your first layer [Smart Funnel](/aftersell/smart_funnel) uses Rokt's AI and machine learning models to automatically select the most relevant upsell offer for each customer. It evaluates at Priority 0 (before all manual funnels), making it a powerful first layer in your strategy. We recommend enabling Smart Funnel alongside your manual funnels. It handles the dynamic targeting automatically while your manual funnels cover specific use cases, Thank You Page offers, and edge cases Smart Funnel does not reach. > [!NOTE] > > Smart Funnel shows offers in the shopper's checkout language and supports the same [32 languages](/aftersell/smart_funnel_reference#supported-languages) as post-purchase offers. Shoppers who check out in any other language skip Smart Funnel and go to your manual funnels, so keep a catch-all funnel live to cover them. ### Add follow-up offers to your funnel Do not stop at the first offer. A well-structured funnel includes offers on both the accept and decline paths: * **Upsell #1** - Your primary offer (highest-margin or most complementary product) * **Upsell #2** (accept path) - Shown when Upsell #1 is accepted. Use this for an additional complementary product or a related add-on * **Downsell #1** (decline path) - Shown when Upsell #1 is declined. Use this for a lower-price alternative or a smaller version of the original offer * **Thank You Page offers** - Product recommendations and upsells on the order confirmation page, shown to every customer regardless of what happened on the post-purchase page This means every customer sees at least two offers (one on the accept or decline path, plus the Thank You Page), and customers who engage see even more. > [!TIP] > > Use AI-powered product recommendation widgets on the Thank You Page to keep engagement high. These widgets automatically surface relevant products based on what the customer purchased, without any manual configuration required. ### Manage funnel priority intentionally When multiple funnels match the same order, Aftersell uses the priority order to determine which one fires. Review your priority list regularly: * Hero product funnels should have higher priority than your catch-all * Smart Funnel always evaluates at Priority 0 (highest) * Seasonal or promotional funnels should be temporarily elevated during campaigns *** ## Product selection Choosing the right products to upsell has a direct impact on conversion rate. The goal is relevance - customers are far more likely to accept an offer that feels like a natural extension of what they just bought. ### Complementary products outperform same-product offers Upselling a complementary product (for example, sandals with a dress, a phone case with a phone, a serum with a moisturizer) consistently outperforms offering the same product the customer just purchased. The exception is consumable or replenishable products where buying a second unit makes sense. ### Strategic product placement across the funnel Since the funnel flow is based on accept and decline actions, think strategically about what goes where: * **Upsell #1:** Your strongest, most complementary offer with the highest expected conversion rate * **Upsell #2 (accept path):** The customer just said yes - they are engaged. Show a second complementary item or a related add-on. This is a warm audience * **Downsell #1 (decline path):** The customer said no to the first offer. Show a lower-price alternative, a smaller size, or a different product category. Reduce the commitment level to recover the conversion ### AI recommendations vs. manual selection Aftersell supports both AI-powered and manually selected product offers: * **AI recommendations (automatic upsells)** use Shopify's Recommendation API to suggest complementary products based on the customer's order. The recommendations consider factors like purchase correlation, order frequency, and product affinity. For stores with very few orders or recently added products, Shopify may not have enough data to generate recommendations - in that case, you can manually add related products in the Shopify Search & Discovery app. You can exclude products from automatic upsells by selecting collections under **Settings > Automatic upsells > Excluded products** - products in the selected collections are not used. * **Manual selection** gives you full control over exactly which products appear. This is best for curated campaigns, seasonal promotions, or when you know your catalog deeply. > [!TIP] > > When using automatic upsells (AI recommendations), you can enable a setting to skip the offer if the product already exists in the original order. In Smart Funnel, this is the "Skip Products in Original Order" toggle. In regular funnels, this is in the Product Details widget settings. We recommend keeping this enabled to avoid offering the customer a product they just purchased. This setting does not apply to the Most Expensive or Least Expensive in Cart product types, which are designed to re-offer items from the original order. We recommend A/B testing AI vs. manual to see which performs better for your store. Many merchants find that AI outperforms manual selection for high-traffic, diverse catalogs, while manual selection wins for stores with a smaller, curated product line. ### Quantity defaults For lower-cost or consumable products, test offering a default quantity of 2 instead of 1. If the x2 offer is accepted more often, it means increased revenue with no extra effort. This works especially well for supplements, food items, skincare, and other replenishable goods. *** ## Discount strategy Discounts are one of the strongest levers for post-purchase conversion, but the approach matters more than the amount. ### Always offer a discount on post-purchase upsells Post-purchase offers convert significantly better with a discount than without one. The customer has already committed to a purchase and is in a buying mindset - a discount at this moment feels like a reward, not a sales tactic. > [!NOTE] > > For best performance, set a non-zero Max Discount for Smart Funnel. Smart Funnel templates do not dynamically adjust based on the discount field value, so a non-zero Max Discount tends to convert best. ### Use compare-at pricing Enable compare-at pricing to visually emphasize the value of your upsell offer. Displaying a higher "compare at" price alongside a lower discounted price makes the deal feel more compelling, even with a smaller actual discount. Example: * Regular price: \$20 * Compare at price: \$25 * Customer sees: ~~\$25~~ \$20 > [!WARNING] > > The visible discount percentage may differ from what you set in upsell settings when "Use Compare at Price" is enabled, since the compare-at price can inflate the perceived discount. Always double-check how it renders on the page by placing a test order. ### Round your discount percentages Always round to the nearest 5th - for example, offer 25% or 30% instead of 27%. Round numbers look more intentional and can boost conversion rates. ### Finding the right discount level A/B test different discount levels to find the sweet spot for your store. The goal is to determine how low you can set the discount without hurting your conversion rate. Common starting points by category: * **Fashion and apparel:** 10-20% off * **Supplements and health:** 15-25% off * **Beauty and skincare:** 10-20% off * **Food and beverage:** 15-25% off * **Electronics and accessories:** 5-15% off * **Home goods:** 10-20% off These are starting ranges for testing - your optimal discount depends on your margins, product pricing, and customer behavior. ### Discount strategy across the funnel Consider varying your discount by funnel position: * **Upsell #1:** Your standard discount (for example, 15% off) * **Upsell #2 (accept path):** Can be the same or slightly lower - the customer is already engaged and buying * **Downsell #1 (decline path):** Consider a slightly higher discount to recover the customer who just said no. A bigger discount on a lower-price item can be very effective here ### When to use percentage vs. fixed dollar discounts * **Percentage discounts** work better for higher-priced items where the dollar savings feel significant (for example, "20% off" on a \$100 item = \$20 saved) * **Fixed dollar discounts** work better for lower-priced items where a percentage feels small (for example, "\$5 off" feels better than "10% off" on a \$50 item) A/B test both formats to see which resonates with your customers. *** ## Copy and design First impressions are crucial on post-purchase pages. Customers make snap judgments, so your value proposition needs to be impossible to miss. ### Emphasize key points with bold text and color Draw attention to the most persuasive elements of your upsell page. Phrases worth highlighting: * The discount percentage or dollar amount * "LIMITED TIME" or urgency language * Countdown timers * Free shipping mentions ### Write clear, benefit-focused headlines Your headline should tell the customer exactly what they are getting and why it matters. Lead with the benefit, not the product name. * Good: "Complete your look - 20% off matching accessories" * Avoid: "You might also like these products" ### Configure your accept and decline buttons intentionally The [Buttons widget](/aftersell/post_purchase_widgets) gives you control over how the accept and decline buttons behave and appear. However, Shopify requires that the accept and decline button text follows strict guidelines - the button wording cannot be customized, only translated into a selected language. What you can configure: * **Accept button text** - Choose between "Pay Now" (displays "Pay now - Product total price") or "Accept Offer" (displays "Accept offer - Product total price") * **Button language** - Select from all supported Shopify Checkout locales to automatically translate both accept and decline button text into the customer's language * **Button layout** - Choose accept above decline, decline above accept, or side by side * **Decline button style** - Secondary or link format * **Button alignment and width** - Adjust positioning to match your offer design * **Supporting text** - Add optional text above or below the buttons with styling controls and dynamic variable support > [!WARNING] > > The accept and decline button text cannot be freely written or customized beyond the two options listed above. This is a Shopify platform restriction, not an Aftersell limitation. The decline button text is automatically set and can only be translated, not edited. ### "Require Confirmation Click to Accept" "Require Confirmation Click to Accept" is available in the Buttons widget for individual offers. This setting adds a second confirmation step before an upsell is accepted. It is worth being aware of if you are using the Most Expensive or Least Expensive in Cart product types, which re-offer items from the customer's original order. If you find that customers are reaching out about unintended purchases on these offer types, this setting can help. It is not needed for all offers, as the additional step may reduce conversion rates. [Learn more →](/aftersell/post_purchase_widgets) ### Long-form vs. short-form offer pages * **Short-form pages** offer concise information, faster load times, and a streamlined experience. They work well for lower-priced, impulse-friendly products. * **Long-form pages** provide detailed product descriptions, features, benefits, and additional images. They work better for higher-ticket products where customers need more information before committing. We generally recommend starting with short-form and testing long-form for higher-ticket items. ### Multi-step offers within a single page If you want to show multiple products on a single upsell page (for example, three accessories on Upsell #1), you can use [multi-step offers](/aftersell/how_to_create_a_multi_step_post_purchase_upsell). Multi-step splits a single page into sequential steps where each step shows a different product. If the customer declines a step, they see the next step on the same page. If they accept, they move to the next page in the funnel (for example, from Upsell #1 to Upsell #2). Multi-step is only available for multi-product upsells and supports up to 12 products per page. We recommend keeping the number of steps minimal for a smooth customer experience. *** ## Thank You Page strategy Not every order qualifies for Post-purchase upsells due to [Shopify's post-purchase restrictions](/aftersell/why_isnt_my_1_click_offer_displaying). Thank You Page upsells act as a fallback, ensuring those customers still see an offer. Unlike Post-purchase offers, Thank You Page offers work with all payment methods. ### Include Thank You Page offers in every funnel Set up Thank You Page upsells in every funnel, including your catch-all. Each funnel's Thank You Page widgets must be configured individually - there is no way to standardize them across multiple funnels. This means if you have 5 funnels, you need to configure the TYP section in each one. Step by step: 1. Open your funnel in the Aftersell admin 2. Scroll to the **Thank You Page** section 3. Click **Add Widget** and select **Product Recommendation** 4. Choose your product selection method, configure your discount, and save 5. Repeat for each funnel, including your catch-all ### Choose the right product selection method Thank You Page product recommendation widgets support three selection methods. Choose the one that fits your store: * **Automatic Upsells** - Lets Aftersell recommend products based on the customer's cart contents. This is the easiest option and tends to convert well because the recommendations are personalized to what the customer just bought. Start here if you are unsure which products to show. * **Specific Products** - Manually select up to 10 products to display. Use this when you want full control, such as promoting a specific product, clearing overstock, or running a seasonal campaign. * **Collections** - Display products from a specific Shopify collection. Use this when you want variety within a curated set (for example, showing items from the same collection the customer purchased from). > [!TIP] > > Enable **Hide product if purchased** to avoid showing items the customer already bought, and **Hide out-of-stock variants** to only display available products. Both settings are in the product recommendation widget configuration. ### Apply a discount to your TYP offers You can apply a percentage or fixed dollar discount directly within the TYP widget. We recommend always including a discount on Thank You Page upsells to give customers a reason to act. Use compare-at price display to visually show the savings. ### Set the right order handling method When a customer accepts a Thank You Page upsell, you choose how the order is processed: * **Modify original order** - Adds the upsell product to the existing order. Free shipping is automatically applied. Use this for a seamless experience where everything ships together. * **Create new draft order** - Creates a separate order for the upsell. Use this if your fulfillment workflow requires separate orders, if you want to offer free shipping only on the upsell, or if your upsells overlap with products in the original order. If your top-sellers are also your main upsell candidates, prefer **Create new draft order** - "Modify original order" silently hides upsells whose variant is already in the customer's order. Bundle products are also not supported with "Modify original order" - Shopify's order-edit API rejects them, so bundle upsells are either hidden or fulfilled as a separate draft order depending on your fallback behavior. See [Order Handling](/aftersell/thank_you_page_extensions_overview#order-handling) for the full trade-off breakdown. ### Use banner text to frame the offer Add a short banner headline above your product recommendations to give customers context. Framing like "Complete the look," "Pairs well with your order," or "Customers who bought this also loved" performs better than showing products with no context. ### Add the app block in Shopify After configuring your Thank You Page widgets in Aftersell, you must add the Aftersell TY widget app block to **both** the Thank You page **and** the Order Status page in your Shopify Editor, then enable it and save. Skipping this step will cause your Thank You Page widgets to not display for customers. > [!WARNING] > > This is one of the most common reasons Thank You Page widgets do not appear. If your TYP offers are not showing, check the Shopify Editor first before troubleshooting anything else. *** ## Upsell strategies by industry Different product categories have different upsell dynamics. For detailed playbooks tailored to your vertical - including recommended products, discount ranges, funnel triggers, and testing priorities for fashion, supplements, food and beverage, beauty, electronics, home goods, and automotive - see [Post-Purchase Strategies by Industry](/aftersell/post_purchase_strategies_by_industry). *** ## Testing A/B testing and multivariate testing are the most effective ways to improve funnel performance over time. See the full [Post-Purchase A/B Testing](/aftersell/post_purchase_a_b_testing) and [Post-Purchase Multivariate Testing](/aftersell/multivariate_testing) guides for detailed setup instructions. ### Key tests to prioritize These are the highest-impact tests based on patterns from top-performing merchants: 1. **AI (dynamic) vs. specific product (static) upsells** - Determines whether automated product matching outperforms your manual curation 2. **Default quantity 1 vs. 2** - Especially impactful for consumables and lower-cost products 3. **Long-form vs. short-form offer pages** - Tests whether customers need more information or prefer a streamlined experience 4. **Same product vs. complementary product** - Tests repurchase vs. cross-sell 5. **Single product vs. multi-product** - Tests simplicity vs. choice 6. **Varying discount percentages** - Finds the minimum discount needed to maintain conversion rate > [!NOTE] > > A/B testing for post-purchase uses Layout A through Layout E (up to 5 layouts). You cannot A/B test one funnel against another funnel - testing happens within a single funnel across layouts. A/B testing is only available for Post-purchase upsells and is not available for Thank You Page offers. For checkout widget testing, see [Checkout A/B Testing](/aftersell/checkout_a_b_testing). ### Data guidelines Before making changes to a funnel, ensure it has run for a minimum of 2 to 4 weeks or collected at least 100 to 200 impressions per layout. Changes made too early are based on insufficient data and can lead to misleading conclusions. Regularly analyze performance data to refine offers, placements, and product selections. An iterative approach helps identify high-conversion strategies while ensuring all changes are based on reliable data. Use the **Revenue per visit** metric as your primary performance indicator over time, as it accounts for unique visits rather than raw impressions. *** ## Common mistakes Avoid these pitfalls when setting up and optimizing your post-purchase funnels: ❌ **No catch-all funnel** - some orders will never see an upsell because they do not match any funnel triggers. Set up a catch-all funnel with the "Show for All Customers" trigger at the lowest priority so every order sees an offer. [Fix it →](/aftersell/quickstart_guide_to_aftersell) ❌ **No Thank You Page upsells** - orders that are ineligible for Post-purchase offers (due to Shopify payment method restrictions) go unconverted. Add Thank You Page upsells to every funnel, including your catch-all. Make sure to add the Aftersell TY widget app block to both the Thank You page and Order Status page in your Shopify Editor. [Fix it →](/aftersell/how_can_i_set_up_and_customize_thank_you_page_upsells_in_aftersell) ❌ **No downsell configured** - if a customer declines Upsell #1 and there is no downsell on the decline path, you have missed a second chance to convert. Always configure a downsell with a lower-price alternative for the decline path. You can add a downsell in the funnel editor when building your post-purchase funnel. [Fix it →](/aftersell/post_purchase_overview) ❌ **Irrelevant upsell offers** - generic offers that do not relate to what the customer bought reduce conversions and erode trust. Use collection-based triggers and complementary product selection to match offers to what the customer purchased. [Fix it →](/aftersell/how_to_configure_post_purchase_triggers) ❌ **Underutilizing AI tools** - missing out on dynamic personalization that often outperforms manual selection, especially for stores with large or diverse catalogs. Enable Smart Funnel and test AI recommendations in your manual funnels. [Fix it →](/aftersell/smart_funnel) ❌ **Making changes too early** - optimizing before collecting enough data leads to decisions based on noise rather than signal. Wait for at least 2 to 4 weeks or 100 to 200 impressions per layout before drawing conclusions. [Fix it →](/aftersell/analytics_in_aftersell) ❌ **Not testing** - running the same offer indefinitely without testing leaves performance gains on the table. Run at least one A/B test per quarter on your highest-traffic funnels. [Fix it →](/aftersell/post_purchase_a_b_testing) *** ## Need help? If you have questions about setting up or optimizing your post-purchase upsell strategy, chat with our support team using the live chat at the bottom right of the app. # Build a Box Source: https://docs.aftersell.com/aftersell/build-a-box The Build a Box post-purchase offer: shoppers assemble a custom box from products you curate, with volume discounts that deepen as the box fills. **Build a Box** is a post-purchase offer type where the shopper assembles their own box from a set of products you curate, and buys the whole selection in one transaction. Instead of accepting or declining a single product, they choose what goes in and how many, and a volume discount can deepen as the box fills. It sits alongside the single-product and multi-product post-purchase offers, and composes with the usual offer widgets such as the heading and timer. > [!NOTE] > > Build a Box offers several different products. To sell more units of one product at tiered prices, use [Quantity upsells](/aftersell/quantity-upsells) instead. To add one, open the funnel, select **Create offer** (**Create your first offer** on an empty step), choose **Build a box**, then pick the products to start with. ## Setting up the box ### Choosing candidate products The **Product selection** section controls which products a shopper can choose from. These are called *candidates*. 1. Open the box offer in the post-purchase funnel editor. 2. Expand **Product selection**. 3. Select **Add product** and pick one or more products. Products already on the list are excluded from the picker. 4. Save. A box supports up to **12 candidates**. Drag the handle on a row to reorder — that's the order shoppers see. Use the delete icon to remove one; you can't remove the last remaining candidate, since a box needs at least one. ### Box size **Box size** sets how many items the shopper must choose: | Setting | What it does | | - | - | | **Minimum items** | The floor. Counted in items, so three of one product counts as three. | | **Maximum items (optional)** | Leave empty for no limit. Set it equal to the minimum for a fixed-size box. | With a fixed-size box, the editor notes that shoppers must choose exactly that many items and will see a "0 of N selected" counter. > [!WARNING] > > If your candidates can't collectively reach the minimum, the editor shows a critical banner titled **"This box won't be shown to shoppers"**, naming the most items your products do allow and the minimum you set. The offer is skipped entirely at serve time. > > The fix it suggests depends on the cause: > > * **A product has its quantity selector turned off**, so it can only be added once — turn one back on, add more products, or lower the minimum. > * **Otherwise** — lower the minimum, add more products, or raise a product's maximum quantity. > * **The box maximum admits no items at all** — the banner says so instead, and asks you to raise it or leave it empty. ## Discounts ### Discount tiers The **Box discount** section sets a discount that scales with how many items are in the box. Add a tier with **Add tier**, then set **Minimum items for tier N** and **Discount for tier N**. How the rate is chosen: * The shopper gets the rate of the **highest tier they reach**. If you configure 3+ items at 30% and 6+ items at 20%, a shopper with 6 items gets 20%. * The rate is evaluated at the **live item count**, not at the box minimum. A tile opens at full price and re-prices as the box fills, so the rate a shopper is quoted is always the rate their current selection actually earns. * An empty tier table is valid and means the box sells at full price. There is no box-wide discount cap: the tier table is the only thing that sets the rate. The editor shows advisory warnings for two tier shapes that look unintended. Neither blocks saving: | Warning | When it appears | | - | - | | A tier sits below the box minimum, so every box a shopper can buy already earns it | A tier's minimum is under the box floor | | Two tiers both start at the same number of items | Duplicate tier minimums | Two things do block saving the funnel: a box maximum lower than the minimum, and a free gift with an invalid setting (no product chosen, a quantity outside 1 to 20, or text over its character limit). Each shows an error on its field or row until you fix it. ### Free gifts on discount tiers Any discount tier can include a free gift, added to the order at 100% off when the shopper's box reaches that tier. To add a gift to a tier, click **Add free gift** under the tier row and choose a product. Once a gift is attached, click the gift row to expand its settings: | Setting | What it controls | | - | - | | **Gift quantity** | How many units of the gift are added, up to 20. | | **Variant choice** | One variant for the whole gift, or one per unit. Per-unit needs a quantity above 1. | | **Gift name** | Optional. Falls back to the product's own name. Supports `{quantity}` and `{value}`. | | **Price text** | The badge shown on the gift. Defaults to `FREE ~~{value}~~`. `{value}` prints the retail price; `~~text~~` strikes text through. | | **Gift image** | Optional. Replaces the product photo. | | **Locked style** | Before the tier unlocks: show a lock icon, or show the gift's image in a disabled state. | | **Locked label** | Text shown before the tier unlocks. Supports `{quantity}`, `{value}`, and all standard box variables. | | **Lock image** | Optional. Replaces the built-in lock icon (only shown when locked style is set to lock). | To change the gift product, use the replace icon on the gift row. To remove the gift, use the delete icon. The editor shows a warning if a gift is on a tier whose minimum exceeds the box maximum, since that tier can never unlock. **Gift behavior** appears once any tier has a gift and applies to the whole box: * **Give every gift the box has reached** (cumulative). The shopper receives the gift from every tier they have passed. * **Give only the highest reached tier's gift** (selected tier). Only the gift from the deepest qualifying tier is given. **Gift banner text** sets the header shown above locked gifts. Leave it empty to use the default in the offer's language. Supports `{items-to-next-gift}` and `{next-gift}`, as well as all the standard box variables. #### What shoppers see * Locked gifts are listed in a banner, each with its locked label. In the **Split columns** layout the banner sits right below the progress bar; in the other layouts it sits above the buy button. * Earned gifts appear as their own rows, with their price text badge. In **Split columns** they follow the selected products; in the other layouts they sit between the gift banner and the buy button. * Progress bar milestones whose tier carries a gift show a gift icon next to the tier label. * The default progress sentence (`{box-progress}`) names gifts as the box fills: * When the next gift unlocks before the next discount tier, or no further discount is ahead, the line reads "Add 2 more to unlock a free `{gift name}`". * When the next discount tier carries a gift, that tier's line ends with it: "Add 2 more for 20% off + a free `{gift name}`". * Once nothing is left to reach and a discount is in effect, the applied line names the earned gift ("20% off applied + a free `{gift name}`"), or counts them when 2 or more are earned ("20% off applied + 2 free gifts"). * Once nothing is left to reach and no discount is in effect, the line reads "Free `{gift name}` added", or "2 free gifts added" for 2 or more gifts. ### Per-product discounts A candidate can carry its own discount instead of following the box rate. Open the candidate, go to **Discount**, and check **Give this product its own discount**. * The override applies on that product's tile and in the box total, in place of the tier rate. * `0` is a valid override — it holds a product at full price inside an otherwise discounted box. * Leave the override off to follow the box discount. ### Editing several products at once **Edit all products** opens a bulk panel. Uncheck any candidate you want to leave out of the edit. Discount fields that differ across the selection show **Mixed**. Editing one writes your value only to selected products that already have their own discount, and leaving it alone keeps each product's value. Any other field you edit is applied to every selected product. The override checkbox shows an indeterminate state when only some have overrides. ## Per-product settings Each candidate has its own panel, covering **Badge**, **Product image badge**, **Image**, **Product details** (including review ratings, with star colours defaulting to `#fdcc0d` and `#d1d5db`), **Variant options**, **Box limits**, **Discount**, and **Already purchased**. Tile appearance is not set per candidate. It comes from the offer-level [**Layout**](#layout) setting, so every tile in a box is shaped the same way. Two settings under **Box limits** are worth calling out: * **Show quantity selector**: off for the products you pick when creating the offer, and on for products added later. When it's off, each add puts in exactly one unit and there is no per-tile stepper. Turn it on to let shoppers choose a quantity per tile. * **Maximum quantity in a box**: appears only when the quantity selector is on. Leave it empty for no limit, or set it to 1 to keep a variety box varied. The **Already purchased** section controls what happens when a shopper already has this product — bought on the current order or accepted at an earlier step in the funnel. Matched on product ID, so a different variant of a purchased product still counts. Choose one of three treatments: | Option | What it does | | - | - | | **Show normally** | The product appears in the box with no special treatment (default). | | **Show a "Your choice" badge** | The product stays in the box and a pill badge marks it as one the shopper already has. | | **Hide the product** | The product is dropped from the box entirely. Not available for most/least expensive candidates, which are resolved from the order after this setting is read. | When **Show a "Your choice" badge** is selected, three additional settings appear: * **Badge text** — the wording on the badge. Leave blank to use the default for the offer's language ("Your choice" in English). * **Badge color** — the fill color of the badge pill (hex, default `#008060`). * **Badge text color** — the text color inside the badge pill (hex, default `#ffffff`). The badge is visible in the funnel editor preview, so you can see how it looks before publishing. ## Layout **Layout**, under the box's layout settings, sets the tile shape and how many tiles share a row: | Layout | How it looks | | - | - | | **Classic** | Image beside the text, two products per row. | | **Compact grid** | Image above the text, three per row, one per row on a phone. | | **Spotlight** | The first product leads at half width, the rest follow in the compact grid. | | **Split columns** | Products on the left, with the total and the buy button in their own column on the right. | The same section sets the padding around the box. ## Progress **Box progress** controls the fill indicator: | Setting | Options | Default | | - | - | - | | **Position** | Above the products / Above the buy button / Both | Above the products | | **Show progress bar** | On / off | On | | **Bar color** | Hex | `#008060` | | **Bar position** | Above the text / below the text | Above the text | | **Top / bottom padding** | 0–10, in steps of 2 | 0 | There is no "hidden" position. To remove the progress text, clear every **Progress wording** field the editor shows. To remove the bar too, turn off **Show progress bar**. ### Progress text variables Type `{` in any of the three [progress wording](#progress-wording) editors to insert a variable. | Variable | What it shows | | - | - | | `{box-progress}` | The whole default progress sentence. It changes structure across the box's states, which no single hand-written sentence can do — see [Progress wording](#progress-wording) to reword each state instead. | | `{items-in-box}` | How many items are currently in the box. | | `{items-to-go}` | The raw remaining count to the minimum. | | `{box-minimum}` | The box minimum. | | `{box-maximum}` | The box maximum. | | `{current-discount}` | The rate currently in effect. | | `{next-discount}` | The rate unlocked by adding more items. Blank at the deepest tier. | | `{items-to-next-discount}` | How many more items are needed to reach it. Blank at the deepest tier. | | `{items-to-next-gift}` | How many more items are needed to unlock the next gift. Blank once no locked gift remains. | | `{next-gift}` | The name of the next locked gift. Blank once no locked gift remains. | | `{subtotal}` / `{total}` / `{discount}` / `{savings}` | Box prices, summed across the whole selection. Blank until a price resolves. | | `{first-name}` | The shopper's first name. | | `{timer}` / `{timer-end}` | The offer countdown. | The step-header variables available on multi-product offers have no box equivalent and are not offered here. ### Progress wording **Progress wording** is three rich text editors, one for each stage of filling the box. Type `{` in any of them to insert a [variable](#progress-text-variables). Clear a field to hide the progress line in that state. | Editor | When its line shows | | - | - | | **Before the first tier** | Until the box reaches its first tier, and while it is short of its minimum. With no tiers, shown until the minimum is reached. | | **Between tiers** | Once a tier is reached while another is still ahead. With no tiers, shown between the minimum and the maximum. | | **Last tier reached** | Once no further tier can be reached. With no tiers, shown at the maximum, or past the minimum when there is no maximum. | The editor shows only the fields your box can actually reach: * **Before the first tier** appears when the box has a minimum above zero or at least one discount tier. * **Between tiers** appears only when the box has two or more tiers, or a maximum on a box with no tiers. * **Last tier reached** always appears. Every box reaches it. Because these are rich text editors, you can bold, colour, and resize the wording, not just change the words. Changing the box **Language** re-translates any wording you haven't edited. Once you edit a field, it's left exactly as you typed it. ## Tile button text The **Tile button text** section in the Buttons panel lets you customize the wording on the Add and Remove buttons that appear on each candidate tile, for this funnel only. * **Add button text** — the label shown on a tile before the shopper adds the product to their box. Defaults to "Add to box". * **Remove button text** — the label shown on a tile after the shopper has added the product. Defaults to "Remove". Leave either field blank to use the default for the offer's language. The unavailable state label ("Unavailable") is not affected by these settings. ## Shipping The **Shipping** section sets what the box charges for delivery. The box either ships free or adds a shipping charge. When you charge, you set the amount and choose whether to multiply it by how many items are in the box, so a six-item box can cost six times a per-unit rate or one flat fee. ## Language and order tagging * **Language** sets the language used for the box copy and buttons, and for product-detail translations. * **Order tag** applies a Shopify tag to every order that accepts the box. Use it to route fulfillment or to isolate box orders in reporting. ## Limitations * **One shared accept button.** The box has a single call to action rather than per-product buttons, because Shopify caps how many accepts a post-purchase page can make. * **No replacement offers.** A box can't be used as a replacement upsell. * **The price breakdown doesn't collapse.** **Show price breakdown**, under **General settings**, turns it on or off. When it's on it is always expanded — the multi-product offer puts its breakdown behind a "Show price breakdown" link instead. ### Subscription-only products Products configured to sell only as a subscription (`requiresSellingPlan: true` in Shopify — no one-time purchase option) cannot be included in a build-a-box offer. Every item in a box is charged as a one-time purchase on the order, so Shopify rejects subscription-only products at serve time. These candidates are silently dropped on every real order, even though the funnel editor preview continues to show them. The funnel editor warns you when this situation is detected: * **Warning banner** — some candidates are subscription-only but enough non-subscription candidates survive to reach the box minimum. The banner lists the affected products by name. The offer still shows to shoppers, but with fewer products than configured. * **Critical banner** — all candidates are subscription-only, or the surviving non-subscription candidates cannot reach the box minimum. The offer is skipped entirely for every shopper. **If you see the warning banner**, the box still works — it just serves fewer products than you configured. Add more candidates that can also be bought once, so the box carries the range you intended. **If you see the critical banner**, the offer won't run at all until you fix it. Any of these clears it: * Add candidates that can also be bought once. * Lower the box minimum, so the surviving candidates are enough to reach it. * Turn off "subscription only" on the affected products in Shopify, if they should also sell as a one-time purchase. You can also remove the subscription-only candidates from the box entirely. That changes nothing for shoppers — they're already dropped on every real order — but it silences the banner and makes the editor preview match what actually serves. Subscription-**enabled** products (those offering both a one-time purchase and a subscription) aren't dropped from a box. They're simply sold as a one-time purchase, like every other box item — a box never carries a selling plan. # A/B test Aftersell Cart against another cart app Source: https://docs.aftersell.com/aftersell/cart/ab-test-against-another-cart Use Shopify Rollouts to A/B test Aftersell Cart against another cart app, split live traffic between two themes, and compare conversion and bounce rates. Shopify Rollouts lets you run a controlled experiment between two themes on your live storefront. You can use it to compare **Aftersell Cart against a different cart app** head to head: one theme runs Aftersell Cart, the other runs the other app, and Shopify splits real shopper traffic between them and reports which one converts better. This is different from an [Aftersell Cart test](/aftersell/cart/tests-overview), which compares two of your own Aftersell Cart variations against each other. Use a cart test to tune Aftersell Cart itself; use a Shopify Rollouts experiment to decide between Aftersell Cart and another app. > [!NOTE] > > Rollouts is a native Shopify feature, not an Aftersell one, and it lives in your Shopify admin under **Markets → Rollouts**. Running an **experiment** (the A/B test this page describes) requires the Shopify **Grow plan or higher**; launch-only rollouts are available on lower plans. [A/B test Aftersell Cart or Upcart against another cart app](https://www.loom.com/embed/1d5ca118b23c415f846c96cf61573464) ## How it works A Rollouts experiment has two sides: * **Control** - your currently live, published theme. You can't change which theme is the control; it is always the published one. * **Treatment** - one theme that you select. This is the variation you are testing against the control. You set how traffic is split between the two. On the scheduled start, Shopify creates a dedicated copy of the treatment theme for the experiment to run against, then splits shoppers between the control and that treatment copy and records how each side performs. An experiment is always **two themes only**: the control (your live theme) and one treatment theme. You can't add a third. ## Before you start Set up two themes so each side runs a different cart: * Your **live (published) theme** running Aftersell Cart as the control. Aftersell Cart needs **both** its app embed enabled in that theme **and a published cart** - with the embed on but no published cart, the theme serves its default cart and the comparison is invalid. See [Creating carts](/aftersell/cart/creating-carts). * A **second theme** with the **other cart app's app embed enabled** (and Aftersell Cart's embed turned off), set up to serve that app's cart. This is the treatment. App embeds are toggled per theme in **Online Store → Themes → Customize → App embeds**, so each theme can carry a different cart app. ## Set up the experiment 1. In your Shopify admin, go to **Markets → Rollouts**. 2. Create an experiment and choose your **treatment theme**. The control is your live theme and is selected for you. 3. Set the **traffic split** to divide visitors between the control and the treatment, and keep the **traffic allocation** at 100% so the whole eligible audience is in the test. 4. **Schedule a start time.** An experiment can't start immediately. You pick from 30-minute time slots, and you have to choose a slot that hasn't passed yet. 5. Confirm. On the scheduled start, Shopify duplicates your treatment theme and begins splitting traffic. > [!TIP] > > For an unbiased test, use a **50/50 traffic split** so each cart gets the same share of traffic. An uneven split skews which cart appears to win and makes the result harder to trust. > [!NOTE] > > **Allocation and split are different settings.** Allocation is the share of eligible visitors who enter the rollout; the split is how that audience divides between control and treatment. They multiply, so a 50% allocation with a 50/50 split shows the treatment to only a quarter of visitors. For a straight A/B test, keep allocation at 100% and set the split. ## Read the results Once the experiment is live, click into it again to see the share of sessions allocated to the control and the treatment, along with these metrics for each side: | Metric | What it measures | | - | - | | **Sessions** | Online store sessions that were exposed to a page where a customization has been made. | | **Conversion rate** | The share of those sessions that placed an order. | | **Reached checkout rate** | The share of sessions that reached checkout. | | **Added to cart rate** | The share of sessions where an add to cart happened. | | **Bounce rate** | The share of online store sessions with only a single page view. | Compare the two sides on the metric that matters most to you, usually conversion rate, to decide which cart performed better. ## See both versions yourself To QA both carts on your live store, you need Shopify to assign you to each side in turn. Clearing your cookies and refreshing makes Shopify re-roll which version you land on. A few things to know: * **It isn't deterministic.** Even on a 50/50 split, the experiment doesn't flip you back and forth. After you clear cookies and refresh you might land on the same theme and cart again. Repeat the clear-and-refresh until you land on the other side. * **You can clear just the one cookie.** Instead of clearing every cookie, open your browser's developer tools, go to the **Application** tab, and delete the **`_shopify_essential`** cookie. Removing it makes Shopify treat you as a new visitor and re-assign you. > [!WARNING] > > On a password-protected storefront, deleting `_shopify_essential` also clears your storefront password authorization, so you'll have to re-enter the store password. *** **Need help?** If you have questions about setting up a Rollouts experiment with Aftersell Cart, reach out to our support team via the in-app chat. # Add-to-cart interception Source: https://docs.aftersell.com/aftersell/cart/add-to-cart-interception Why Aftersell takes over add-to-cart, how to tell whether a form is intercepted, and every way to opt a form out. When a shopper clicks **Add to cart**, Aftersell usually handles the add itself instead of letting the theme do it. This page explains why, what it means for scripts you've added, and how to turn it off for one form or for all of them. Most stores never need to change any of this. Read on if a script of yours stopped firing on add-to-cart, or if an add-to-cart button behaves oddly. ## What interception does Aftersell listens for the add-to-cart submit before the theme does. When it recognizes one, it: 1. Stops the event, so nothing else on the page handles that click. 2. Sends the add to Shopify itself. 3. Opens the Aftersell Cart drawer. Step 1 is the important one, and it's the reason this page exists. ## Why it exists Without it, both carts respond to the same click. The theme adds the item and opens its own drawer, Aftersell adds it and opens ours, and the shopper sees two carts, often with the item added twice. Stopping the event is the simplest way to guarantee one add and one cart. ## What it costs Stopping the event stops it for **everyone**, not just the theme. Any other code listening to that same add-to-cart stops running: your analytics, a tracking pixel, a subscription or bundle app, a script you added yourself. It fails quietly. Nothing appears in the browser console, and the add itself still works, so the usual symptom is a number that's wrong rather than something visibly broken: * `add_to_cart` events missing from GA4, Meta, or TikTok * A subscription or bundle app that works on the product page but not through the cart * Your own `addEventListener` on the form never firing If any of that sounds familiar, this page is the cause and the fix is below. ## When Aftersell doesn't intercept Interception isn't always on. Aftersell leaves add-to-cart alone when: * **It recognizes your theme's cart.** On themes Aftersell knows how to work with, it makes the theme's own cart inert instead of blocking the event, then lets the theme perform the add normally. Your scripts run as they always did. See [Which themes](#which-themes-aftersell-recognizes) below. * **The form doesn't add a line item.** A form with no variant `id` and no `items[]` is left alone. * **You've opted out** using one of the methods below. When Aftersell doesn't perform the add, it still watches for the cart request and opens the drawer when it sees one. See [Before you choose: what changes](#before-you-choose-what-changes). ## Which themes Aftersell recognizes | Theme | | | - | - | | **Dawn** and the rest of Shopify's free family | Craft, Colorblock, Crave, Origin, Publisher, Refresh, Ride, Sense, Spotlight, Studio, Taste | | **Horizon** | Shopify's current default theme | | **Impulse** | | Aftersell matches on **how a theme is built**, not on its name, so a custom theme forked from any of these is normally recognized too, including private builds Aftersell has never seen. > [!NOTE] > > The reverse also happens: a heavily customized build can drift far enough from its parent that Aftersell no longer recognizes it, even though the theme is still called "Dawn". Being on this list makes recognition likely, not certain. ## Your options Choose the narrowest one that solves your problem. Each row gives up more than the one above it. | Option | Scope | Aftersell still opens the drawer | | - | - | - | | [`registerSkipAddToCartRule`](#per-form-a-rule-in-code) | The forms your rule picks | Yes, from the cart request | | [`aftersell-cart-skip-atc`](#per-form-a-class-in-your-theme) | One form or button | Yes, from the cart request | | [`skip_add_to_cart_interceptor`](#whole-store-turn-interception-off) | Every form on the store | Yes, from the cart request | ### Before you choose: what changes Opting out hands the add back to your theme, which raises two questions worth answering before you pick a row: whether your cart still opens, and whether the theme's cart turns up next to it. #### Will your cart still open? Usually yes, with no work on your part. Whoever performs the add, Aftersell watches for the request going to Shopify and opens the drawer when it sees one, following your normal **Open cart when an item is added** setting. You don't have to call anything yourself. Three situations break that, and all three have a fix: **The add goes somewhere other than Shopify's cart endpoints.** Aftersell watches `/cart/add`, `/cart/change`, `/cart/update` and `/cart/clear` on your own domain. An app that adds through its own endpoint and syncs the cart afterwards isn't visible to this. Open the cart yourself once that app's add finishes: ```js theme={"theme":{"light":"snazzy-light","dark":"github-dark"}} window.aftersell.cart.actions.refresh().then(() => { window.aftersell.cart.actions.open(); }); ``` **More than about three seconds pass between the click and the request.** Aftersell treats an add that closely follows a real click or keypress as shopper-driven. Beyond that window it's considered a background add, which doesn't open the drawer unless you opt in: ```js theme={"theme":{"light":"snazzy-light","dark":"github-dark"}} window.aftersell.cart.configure({ open_on_background_add: true }); ``` **Your cart setting says not to.** If **Open cart when an item is added** is off, or you've set `open_on_add_to_cart: 'never'`, nothing opens the drawer. That's working as configured. #### Will the theme's cart open too? This is the risk the opt-outs carry, and the answer depends on your theme. Making the theme's cart inert is **separate from interception** and happens at page load either way, so none of the opt-outs here switch it back on. On a theme from the [recognized list](#which-themes-aftersell-recognizes), the theme's own cart stays quiet and the shopper sees one cart, yours. On a theme Aftersell doesn't recognize, there's nothing holding the theme's cart back. Opting out means the theme handles the add exactly as it always did, including opening its own drawer or redirecting to `/cart`, while Aftersell opens its drawer from the request it saw. That's two carts, and it's the reason interception exists in the first place. If that happens, you have three choices: leave interception on for that form, use a narrower opt-out that doesn't cover the forms causing it, or stop the theme's own cart yourself in your theme code. > [!TIP] > > Turn an opt-out on in a test or unpublished theme first. If the theme's own cart appears where it didn't before, your theme isn't one Aftersell recognizes, and you'll want to keep interception on for those forms. > [!NOTE] > > This applies to add-to-cart only. Making the **cart icon** bypass Aftersell with the `aftersell-cart-wont-open-cart` class is different: a cart-icon click sends no request, so there's nothing for Aftersell to watch, and the drawer will not open. See below. ### Per form: a rule in code The preferred option. Register a rule that returns `true` for the forms you want left alone: ```js theme={"theme":{"light":"snazzy-light","dark":"github-dark"}} window.aftersell.cart.hooks.registerSkipAddToCartRule((form) => form.hasAttribute('data-skip-aftersell') ); ``` Put it in **Cart settings → Custom script → Initialization**. Rules are additive: yours runs alongside any others, and any rule returning `true` skips that form. Full details in [Hooks](/aftersell/cart/sdk-hooks#registerskipaddtocartrule). ### Per form: a class in your theme If you'd rather not write a rule, add the `aftersell-cart-skip-atc` class in your theme: ```html theme={"theme":{"light":"snazzy-light","dark":"github-dark"}}