Shopify sections
Shopify cart upsell: products that fit what is already in the cart
A Shopify cart upsell is a row of products on the cart page that a shopper can add without leaving the cart. Cart Upsell from Section Store fills that row from Shopify recommendations for the cart, from a collection or from hand-picked products. After an add it refreshes the cart in place. It is built for the cart page template, creates no discounts and shows no "bought together" figures. In Section Store it is a one-time purchase per section or included in Enterprise.
- Number of products: 1 to 8, default 4
- Layouts: Card row, Compact list, Single offer
- Default output 51.8 KB, of which 38.1 KB JavaScript and 10.3 KB CSS
Last checked:

When to use it
It fits a cart page that shows line items and nothing else
Use it when
- Your theme's cart page has no recommendationsThe section adds them as a block on the cart template. With the default source, Shopify recommendations for the cart, you do not have to supply a product list: related products are chosen by Shopify automatically.
- You already maintain complementary products in Search & DiscoveryRecommendation type is set to Complementary by default, so the pairings you picked per product in Shopify's free Search & Discovery app appear in the cart. Where a cart product has none, the section falls back to related products, then to your collection and hand-picked products.
- An empty cart should show products instead of nothingWhen the cart is empty is set to Hide the section by default. Switch it to Show products from a collection and fill Collection for an empty cart. The headline then reads Start with our bestsellers until you rewrite it.
- Adding a product must not reload the pageUpdate the cart page after a change defaults to Automatic (refresh the cart in place). If your theme's cart does not pick the change up, the other two modes are Reload the cart page and Only notify the theme.
Skip it when
- Your shop only uses a cart drawerThis is a cart page block. If shoppers go from the drawer straight to checkout, they never see it. Use the recommendation slot of your theme's drawer if it has one, or a cart drawer app.
- You want offers in the checkout or after paymentThose steps are not part of the theme, so no theme block reaches them. Offers there are built as checkout extensions; look for an app that ships one.
- You want to write "customers also bought" with numbersShopify gives no purchase counts with its recommendations, and the builder note asks for copy without such claims. Keep a neutral headline like the default Complete your order, or state figures from your own order data under your own responsibility.
In detail
The cart picks the products, and four settings decide how well
Products to show sets the source. With Shopify recommendations for the cart, the section asks Shopify for products that match one cart item. Recommend for names that item: the most recently added product (the default), the first product in the cart or the most expensive product. Up to three cart products are used, starting with that one, so there are enough picks to fill the row.
Recommendation type separates two things that are easy to mix up. Complementary products are the ones you assign per product in Search & Discovery, so the row is only as good as that upkeep. Related products are similar items chosen by Shopify, which makes them alternatives to the cart item more often than additions to it. For add-ons, Complementary or a list of up to 8 Hand-picked products is the more predictable source.
Hide products already in the cart and Hide sold-out products are on by default and remove candidates before the row is drawn. The builder preview shows sample products, so judge the real picks on the storefront with a filled cart.
Quick add has the modes Off, Button (appears on hover) and Plus icon (always visible). One click adds a product without options. A product with options opens a small picker with sizes and colours, and sold-out ones are crossed out. The section then sends the change to the storefront cart and, in Automatic mode, the cart page updates without a reload.
Card row is the default layout; its Columns (Desktop) slider runs from 2 to 5 and starts at 4. The section uses container queries, so it adapts to the width of its column when a theme puts the block into a narrow part of the cart page.
Prices need a look before going live. Compare-at prices are shown exactly as set in Shopify, and {percent} in Sale badge text is replaced with the real discount from the compare-at price. The builder note adds that in the EU a reduced price must refer to the lowest price of the last 30 days. If your compare-at prices do not meet that, turn Show compare-at price off.
Builder settings
Every builder setting of Cart Upsell
Change Products to show and Recommendation type first, because they decide which products appear at all, then check Update the cart page after a change against your theme's cart. All of these live in the app builder; the theme editor only shows the app block with its section picker and spacing.
Products7
- Products to show
- Choice: Shopify recommendations for the cart, Products from a collection, Hand-picked products
- DefaultShopify recommendations for the cart
- Recommendation typeConditionalComplementary: what goes with the cart (set up in Search & Discovery). Related: similar products, chosen by Shopify.
- Choice: Complementary, Related
- DefaultComplementary
- Recommend forConditionalUp to three cart products are used, starting with this one, so there are enough picks.
- Choice: The most recently added product, The first product in the cart, The most expensive product
- DefaultThe most recently added product
- Number of products
- Slider, 1–8
- Default4
- Hide products already in the cart
- On / off
- DefaultOn
- Hide sold-out products
- On / off
- DefaultOn
- When the cart is empty
- Choice: Hide the section, Show products from a collection
- DefaultHide the section
Content4
- Eyebrow
- Text
- DefaultEmpty
- HeadlineThe default texts are translated automatically into the shopper's language.
- Text
- DefaultComplete your order
- Subheadline
- Text
- DefaultPicked to go with what's in your cart
- Headline for an empty cartConditional
- Text
- DefaultStart with our bestsellers
Layout4
- Layout
- Choice: Card row, Compact list, Single offer
- DefaultCard row
- Columns (Desktop)Conditional
- Slider, 2–5
- Default4
- Max Width
- Slider, 320–1800 px
- Default1200 px
- Panel Color
- Colour
- DefaultNot set
Cards8
- Card styleConditionalStandard: details under the image. Minimal: centred, quieter text.
- Choice: Standard, Minimal
- DefaultStandard
- Image ratioConditional
- Choice: Square, Portrait, Tall
- DefaultPortrait
- Show second image on hoverConditional
- On / off
- DefaultOn
- Quick addConditionalOne click adds products without options. Products with options open a small picker with sizes and colours; sold-out ones are crossed out.
- Choice: Off, Button (appears on hover), Plus icon (always visible)
- DefaultButton (appears on hover)
- Show vendor
- On / off
- DefaultOff
- Show compare-at price
- On / off
- DefaultOn
- Show sale badgeConditional
- On / off
- DefaultOn
- Sale badge textConditional{percent} is replaced with the real discount from the compare-at price, e.g. -{percent}%. The default is translated automatically.
- Text
- DefaultSale
Cart1
- Update the cart page after a change
- Choice: Automatic (refresh the cart in place), Reload the cart page, Only notify the theme
- DefaultAutomatic (refresh the cart in place)
Design7
- Text Color
- Colour
- Default#1c1b19
- Background Color
- Colour
- Defaulttransparent
- Image background
- Colour
- Default#f5f3ef
- Sale color
- Colour
- Default#b4532a
- Button Color
- Colour
- Default#1c1b19
- Button Text Color
- Colour
- Default#ffffff
- Corner Radius
- Slider, 0–24 px
- Default8 px
Spacing1
- Section Spacing
- Spacing per device
- DefaultTop padding 32 / 32 / 24 px
Repeatable items3
- Collection
- List of items, up to 1
- Default0 sample items
- Hand-picked products
- List of items, up to 8
- Default0 sample items
- Collection for an empty cart
- List of items, up to 1
- Default0 sample items
35 settings in 8 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.
Two ways
Write the recommendation request yourself or place the finished block
Both ways end with products on the cart template. They differ in who keeps the cart refresh working when the theme changes.
Way 1
By hand in the theme code
Untested outline, not a finished listing. Only partly feasible as a generic recipe: the request is standard Shopify, the cart refresh is specific to each theme.
- On the cart template, take one product from cart.items as the basis.
- Request the product recommendations route for that product through the Section Rendering API and insert the returned markup.
- Decide what to show when the route returns nothing, for example products from a fixed collection.
- Give every product an add-to-cart control; products with variants need a variant picker.
- After an add, re-render the theme's cart sections. Every theme does that differently, which is the fragile part.
Choose this if: Choose this if a developer who knows your theme's cart code is available and the product cards should be the theme's own.
Way 2
With Section Store
Needs an Online Store 2.0 theme. Cart Upsell is a one-time purchase per section or included in Enterprise.
- For complementary picks, assign complementary products per product in Shopify's Search & Discovery app first; without them the section falls back to related products.
- In the builder, set Products to show and give the fallback something to work with: a Collection or Hand-picked products.
- Add the Section Store app block to the cart page template in the theme editor and pick Cart Upsell; the documentation covers placement.
Choose this if: Choose this if you want cart recommendations without maintaining cart JavaScript. Coding it yourself is the better choice when the recommendations belong inside a cart drawer or need a layout beyond Card row, Compact list and Single offer.
FAQ
Questions about upsells on the Shopify cart page
No. The settings contain no discount option. Products appear at their Shopify price and, if Show compare-at price is on, with the compare-at price next to it. A reduction for add-ons has to come from a discount you set up in Shopify yourself.
With Shopify recommendations as the source, the row depends on what Shopify returns for the cart products. The filters for products already in the cart and for sold-out products then remove further candidates. Fill Collection or Hand-picked products so the last fallback always has something left.
Yes. Each section can be limited by start and end date, country, language, logged-in state, customer tag and device. A section can also exist several times with different settings, so one instance with hand-picked products can serve one country and a second instance another.
The default texts, such as Complete your order and the Sale badge, are translated automatically into the shopper's language. Texts you write yourself are not machine translated; you enter them per shop language in the builder.
Cart Upsell is in Section Store.
Set it up in the app builder and place it through the Section Store app block. No theme code.
Sources
Sources
- Section Store app: builder configuration and generated code of Cart Upsell · as of 2026-12-02
- Section Store on the Shopify App Store · as of 2026-12-02
- Shopify developer documentation: Sections