# Ecommerce Search: Store Availability Search

A local availability search pairing a product query with nearby store rows showing live shelf counts and pickup windows, plus a shipping fallback.

- Page: https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/search-sections/store-availability-search
- Collection: [Ecommerce](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro), Standard tier
- Group: [Search](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/search-sections)
- Created: 2026-07-10
- Preview image: https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/search-sections/store-availability-search.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/ecommerce-pro-search-sections-store-availability-search
```

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, input, placeholder
- Installs to: `@/components/blocks/ecommerce-pro/search-sections/store-availability-search`

## About this block

Store Availability Search renders a local stock lookup, a
search field prefilled with a product, the neighborhood it
is checking against, then nearby stores as rows carrying a
live shelf count, a pickup window, and a reserve button.
Two stores have it, one is waiting on the morning truck.

The shelf counts are the point, four on the shelf reads
differently from in stock, and the last one in a named
colorway is a nudge to hurry. A shipping fallback closes
the block so no match nearby still ends in an answer.

## When to use

Reach for this block when pickup matters, a product page
availability tab, a store finder result, or the moment
between add to cart and checkout. Wire the counts to your
point of sale feed and the reserve buttons to a hold.

A natural flow around it on an Ecommerce Pro page:

**Before**

- [Product overviews](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/product-overviews)

**After**

- [Store locator sections](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/store-locator-sections)
- [Order tracking](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/order-tracking)
  for the shipped fallback

## What you can display

One strong use is the nearby shelf check. Other lookups:

- **Curbside.** Reserve now, collect from the car outside.
- **Ship to store.** Not local today, delivered to the
  counter by Friday.
- **Try in store.** Reserve to fit, no purchase until you
  have held it.

> Tip: name the colorway on the last one line, the last one
> in moss converts far harder than a bare in stock count.

## More in Ecommerce Search

- [Empty Search State](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/search-sections/empty-search-state)
- [Guided Search Finder](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/search-sections/guided-search-finder)
- [Popular Searches Band](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/search-sections/popular-searches-band)
- [Saved Search Alerts](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/search-sections/saved-search-alerts)
- [Search By Photo Card](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/search-sections/search-by-photo-card)
- [Search Results Page](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/search-sections/search-results-page)
- [Search Suggestions Panel](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/search-sections/search-suggestions-panel)
- [Search Syntax Guide](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/search-sections/search-syntax-guide)
- [Search With Filters Bar](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/search-sections/search-with-filters-bar)
