Back to blocks
BlockeCommerceFree

Upsell / Cross-sell Block React component

A post-add offer screen: choose between your pick and a highlighted upgrade with a side-by-side spec table that follows the choice, add accessories at a bundle discount with struck-through prices, and watch the total and savings update before adding everything to the cart.

About the Upsell / Cross-sell Block component

Upsell / Cross-sell Block appears right after someone adds a product and offers two kinds of 'better': a step-up model, compared spec by spec so the difference is obvious, and a few accessories that are cheaper when bought together.

Every choice updates the total and the bundle saving immediately, and a clear 'no thanks' keeps the original choice one tap away, so the offer helps instead of getting in the way.

When to use it

Use it on an added-to-cart page, inside a cart step or as a section under a product page.

For a single checkbox offer at checkout use the Order Bump Block; for a recommendation row use the Related Products Block.

Installation

Add the Upsell / Cross-sell Block component to your project with the shadcn CLI. It lands in components/upsell-cross-sell-block.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/upsell-cross-sell-block

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion clsx tailwind-merge

More eCommerce components

Incentives Block
Free
Free Shipping Progress Bar
Free
Order History Block
Free
Order Bump Block
Free
Product Features Block
Free
Coupon Code Block
Free