# Ecommerce Upsell: Shipping Threshold Nudge

A live progress bar toward the free shipping threshold, three small items sized to close the gap, and the flat rate as a fair alternative.

- Page: https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/upsell-sections/shipping-threshold-nudge
- Collection: [Ecommerce](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro), Standard tier
- Group: [Upsells](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/upsell-sections)
- Created: 2026-07-10
- Preview image: https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/upsell-sections/shipping-threshold-nudge.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/ecommerce-pro-upsell-sections-shipping-threshold-nudge
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: button, placeholder, progress
- Installs to: `@/components/blocks/ecommerce-pro/upsell-sections/shipping-threshold-nudge`

## About this block

Shipping Threshold Nudge shows a live progress bar toward
the free shipping number and names how far the cart still
is from it. Below the bar sit three small items sized to
close exactly that gap, each with an add control that
updates the subtotal, and the flat rate is offered as a
fair alternative rather than hidden.

The threshold, subtotal, and flat rate are three constants,
and the remaining amount and unlocked state are computed
from what has been added. The footnote reminds the buyer
that spending more to dodge shipping only pays if the items
were wanted anyway, which keeps the nudge from turning into
pressure.

## When to use

Reach for this block in the cart or a slide out drawer
where a subtotal is close to a free shipping threshold. The
filler prices and the flat rate must be live or the
arithmetic under the bar stops holding.

A natural flow around it on an Ecommerce Pro page:

**Before**

- [Shopping cart](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/shopping-carts)

**After**

- [Checkout](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/checkouts)

## What you can display

One strong use is the small goods gap. Other threshold
fills:

- **Consumables.** Refills and travel sizes priced to top a
  cart over the line.
- **Accessories.** Straps, cloths, and cases that pair with
  what is already in the cart.
- **Samples.** Low cost add ons that round the subtotal
  without adding bulk.

> Tip: size the filler items to the real gap and no larger;
> a suggestion that overshoots the threshold by a wide
> margin reads as a push rather than a favor.

## More in Ecommerce Upsells

- [Accessories Rail](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/upsell-sections/accessories-rail)
- [Add On Services](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/upsell-sections/add-on-services)
- [Better Spend Suggester](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/upsell-sections/better-spend-suggester)
- [Care Kit Attach Row](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/upsell-sections/care-kit-attach-row)
- [Care Sub Upsell Row](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/upsell-sections/care-sub-upsell-row)
- [Complete The Look](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/upsell-sections/complete-the-look)
- [Complete The Set Progress](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/upsell-sections/complete-the-set-progress)
- [Cross Sell Banner](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/upsell-sections/cross-sell-banner)
- [Frequently Bought Together](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/upsell-sections/frequently-bought-together)
- [Gift Wrap Upsell Row](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/upsell-sections/gift-wrap-upsell-row)
- [Membership Upsell Math](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/upsell-sections/membership-upsell-math)
- [Post Purchase Upsell](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/upsell-sections/post-purchase-upsell)
- [Protection Plan Picker](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/upsell-sections/protection-plan-picker)
- [Recently Viewed Row](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/upsell-sections/recently-viewed-row)
- [Replenishment Reminder Card](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/upsell-sections/replenishment-reminder-card)
- [Setup Service Upsell](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/upsell-sections/setup-service-upsell)
- [Spare Parts Attach Row](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/upsell-sections/spare-parts-attach-row)
- [Tiered Bundle Builder](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/upsell-sections/tiered-bundle-builder)
- [Trade Up Comparison](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/upsell-sections/trade-up-comparison)
- [You May Also Like](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/upsell-sections/you-may-also-like)
