# Ecommerce Bundle Upsell: Stack

A vertical stack of bundle items with running totals and one add to cart action. Use it on mobile product pages to offer matching extras as shoppers scroll.

- Page: https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-bundle-upsells/stack
- Collection: [Ecommerce](https://www.shadcn-ui-blocks.com/blocks/ecommerce), Free tier
- Group: [Bundle Upsells](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-bundle-upsells)
- Created: 2026-06-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-bundle-upsells/stack.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/ecommerce-ecommerce-bundle-upsells-stack
```

A free block: it installs with no account or key. Or install it by URL: `npx shadcn@latest add "https://www.shadcn-ui-blocks.com/r/ecommerce-ecommerce-bundle-upsells-stack.json"`.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: button, card
- Installs to: `@/components/blocks/ecommerce/ecommerce-bundle-upsells/stack`

## About this block

Stack is a vertical bundle upsell panel. A centered heading and a discount
callout sit at the top, followed by a highlighted main product card showing
the item image, name, optional description, current price, and a "Selected"
badge. Below it, each upsell item appears in its own card with an image,
name, price, and an Add or Remove button that toggles the item in and out
of the selection. A summary card at the bottom shows the running item count,
the live total, a savings line when the bundle discount kicks in, a green
banner confirming the discount once two or more items are selected, and a
single "Add Selected to Cart" button.

All copy is passed in as props, so the heading, discount rate, main product
details, and each upsell item are fully replaceable. You can pass one upsell
item or several, and the summary adjusts automatically. The footer note
beneath the button is also just text and can be swapped or removed.

## When to use

Reach for this block when a product page needs to surface complementary
extras without sending the shopper to a separate page. On a real estate
marketplace the pattern translates naturally: a core listing package is
always selected, and optional add-ons such as a professional photography
session, a floor plan report, or a featured placement can be toggled in
before checkout. The vertical stacking works well on mobile where side by
side layouts compress uncomfortably, and the live total keeps the value
proposition visible as selections change.

A natural flow around it on an Ecommerce page:

**Before**

- A [Product Overview](https://www.shadcn-ui-blocks.com/blocks/ecommerce/product-overview) block to anchor
  the main item with images, specs, and the base price before upsells appear
- A [Product Features](https://www.shadcn-ui-blocks.com/blocks/ecommerce/product-features) section to
  justify the main product and warm the shopper to extras

**After**

- [Customer Reviews](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-customer-reviews) to
  reinforce the purchase decision immediately after the add to cart action
- A [Cross Sells](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-cross-sells) section for
  related items that did not fit inside the bundle itself

## What you can display

The frame works for any product with one anchored item and a short list of
optional add-ons. A few real estate adjacent ways to fill it:

- **Listing promotion packages.** Set the main card to the standard listing
  slot and offer photography, video walkthrough, and social boost as
  toggleable extras with per-item prices shown.
- **Inspection add-ons.** Use the stack after a base inspection service to
  let buyers add a pest report, a pool inspection, or a sewer scope before
  booking.
- **Moving service bundles.** Anchor a standard move quote and let customers
  layer on packing materials, storage days, or fragile item handling from
  the same screen.

> Tip: keep the upsell list to three or four items so the summary card stays
> visible without scrolling on a phone screen.

## More in Ecommerce Bundle Upsells

- [Builder](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-bundle-upsells/builder)
- [Comparison](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-bundle-upsells/comparison)
- [Minimalist Grid](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-bundle-upsells/minimalist-grid)
- [Side By Side](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-bundle-upsells/side-by-side)
