# Ecommerce Cross Sell: With Ratings

Recommended products shown with star ratings and review counts beside each price. Uses social proof to push complementary items into the cart.

- Page: https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-cross-sells/with-ratings
- Collection: [Ecommerce](https://www.shadcn-ui-blocks.com/blocks/ecommerce), Free tier
- Group: [Cross Sells](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-cross-sells)
- Created: 2026-06-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-cross-sells/with-ratings.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/ecommerce-ecommerce-cross-sells-with-ratings
```

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-cross-sells-with-ratings.json"`.

## Depends on

- npm packages: lucide-react
- shadcn/ui components: card
- Installs to: `@/components/blocks/ecommerce/ecommerce-cross-sells/with-ratings`

## About this block

With Ratings opens with a centered "You May Also Like" heading, then drops
into a responsive grid of product cards. Each card holds a square product
image, a two-line clamped product name, a row of filled and half-filled
stars alongside the numeric rating, and a price in larger semibold text.
The grid runs two columns on small screens and expands to three on medium
and wider viewports.

The heading copy, the number of cards, and every product field (name,
price, rating, image) are independent. You can swap in fewer or more
items, adjust the section heading, or remove the heading entirely without
affecting the card layout or the star rendering logic.

## When to use

Reach for this layout when social proof is the main lever. On a checkout
confirmation page or a cart review screen for a fintech or payments
product, showing star ratings next to suggested add-ons reassures cautious
buyers that peers have already vetted the picks. It works better than a
plain grid when trust is low and the shopper needs one more nudge before
adding another item.

A natural flow around it on an Ecommerce page:

**Before**

- [Shopping Cart](https://www.shadcn-ui-blocks.com/blocks/ecommerce/shopping-cart) so the cross-sell
  section follows the cart summary where buyers are already in a
  purchasing mindset
- [Product Overview](https://www.shadcn-ui-blocks.com/blocks/ecommerce/product-overview) to anchor the
  shopper on the primary item before surfacing related options

**After**

- [Customer Reviews](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-customer-reviews) to
  reinforce the social proof theme with full review copy below the
  product picks
- [Trust Guarantee](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-trust-guarantee) to close
  the section with return and protection messaging

## What you can display

The obvious fit is a short list of complementary products with verified
ratings pulled from your catalog. A few other ways to use the frame:

- **Top-rated accessories.** Slot in the three highest-rated accessories
  for a device or plan so the rating data does the persuasion work.
- **Frequently bought together.** Surface items that other customers
  paired with the current product, letting the review counts signal
  popularity.
- **Curated staff picks.** Fill the cards with hand-picked items and set
  ratings to reflect editorial scores rather than buyer averages.

> Tip: keep ratings honest and current. Stale or suspiciously perfect
> scores undermine the trust signal the stars are there to provide.

## More in Ecommerce Cross Sells

- [Feature Icons](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-cross-sells/feature-icons)
- [Simple Grid](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-cross-sells/simple-grid)
- [Stacked List](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-cross-sells/stacked-list)
- [With Badges](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-cross-sells/with-badges)
