Overview
Aisle is a theme for grocers and food shops. The site is laid out like a supermarket you walk down: the home page is the front of the store, each category is an aisle, and products stand on shelves with shelf-edge price tags. The demo store is Larkin's, a neighbourhood supermarket in Bristol, priced in pounds.
Aisles and shelves
- An aisle is a category. Its page is the aisle itself: a sign with the aisle name, then its shelves.
- A shelf is a group of products inside an aisle. List the shelves of a category, in walking order, in the category metafield
aisle.shelves(one entry per shelf:tag | Shelf name, for examplechocolate | Chocolate). Put each product on a shelf with the product metafieldaisle.shelf(the tag, for examplechocolate). Use the same value as a product tag too, so home page shelves can pick products by category and tag. - Products with no matching shelf go on an "Everything else" shelf at the end. A category without a shelf list shows one shelf of all its products.
Signs
The hanging signs along the top come from a menu, by default the one with the handle aisles. Each menu item is one sign, numbered by its position. Link the items to categories. The sign of the aisle the shopper is in is shown in yellow (on a product page, the product's first category). The signs are drawn by the Aisle signs section, which the demo places on product, listing and search pages, and by the Aisles section.
Packs at their real size
Products stand on the shelf at their real relative size. Set the product metafield grocery.height_cm to how tall the pack stands. Theme settings → Shelf tags → Height of the tallest pack on a shelf is the height that fills a shelf; each shelf is spaced to its own tallest pack. Smallest pack size on a shelf keeps small items (a spice jar, a chocolate bar) large enough to see and tap. Products without a height stand at a medium size.
Price tags
- Tags are yellow.
- A tag turns red when the product is on sale (the old price is struck through), has an offer label (
grocery.offer_label, for example "2 for £6") or has quantity price tiers ("Buy 3: £1.20 each"). - Sold-out products get a plain tag that says "Sold out".
- The tag also shows the unit price from
grocery.unit_price(product or variant), for example "87p/100g". Theme settings → Product cards → Show the unit price on tags off removes the line under the name on shelf tags (unit price, offer text and "Sold out"); the large tag on the product page keeps it.
What stays hidden
Parts that depend on data your store may not have stay hidden from shoppers until the data exists: ratings without reviews, offers, collection availability, nutrition, ingredients, suppliers without a photo, a recipe with no ingredients in stock. Nothing is made up.
Shopper-facing text is in English, German, Spanish, French and Italian.
Read Getting started next. The pages ending in "reference" list every section, block and setting.