# What is a location in Shopify?

> A place where the store keeps stock and fulfills orders, such as a warehouse or a shop; stock is counted per location, and a location can offer local pickup.

URL: https://www.smootify.io/glossary/location

A location is any place that holds stock: a warehouse, a shop, a fulfillment partner. You add locations under **Settings › Locations**.

Locations matter in three ways:

- **stock** is counted per location: the Sand shirt in M can be 4 in the warehouse and 2 in the shop;
- **orders** are fulfilled from a location, which loses the stock;
- a location can offer **local pickup**, turned on under **Settings › Shipping and delivery**: the customer picks pickup at checkout and collects the order there.

## In Webflow terms

Your shops can be a Webflow CMS collection for their pages, but their stock and pickup come from the Shopify locations.

## In Smootify

| State | What shows | Classes |
|---|---|---|
| The first location has the variant | `condition="available-at-location"` | `is-available` on `store-availability`, `is-available-at-pickup` on `smootify-product` |
| The first location does not have it | `condition="not-available-at-location"` | `is-available-at-pickup` on `smootify-product` |
| No location offers the variant for pickup | `store-availability` is hidden; elsewhere in `smootify-product`, `condition="not-available-as-local-pickup"` shows | none |
| The visitor opens the panel | one `store-location` per store that offers the variant, except the store chosen in a location switcher; the list loads when the panel opens; the button is hidden when there is only one location | |

`store-availability` on the product page shows whether the variant can be picked up, and where. The store locator lists the locations that offer local pickup, on a map. `location-switcher` lets the customer choose the shop they buy from.

More in [Store availability](https://www.smootify.io/docs/features/store-availability).
