Search blocks
Search collection
Section titled “Search collection”Used in: Cart drawer, Predictive search and in the 8 sections that accept any theme block.
| Setting | Type | Default | Options and range |
|---|---|---|---|
| Heading | Text | New in | |
| Show “View all” link | Checkbox | On | |
| Collection | Collection | — | |
| Products to show Shown when Collection is set. | Range | 4 | 2–8, step 1 |
| Columns on desktop Shown when Collection is set and the section’s layout is “sheet”. | Range | 4 | 2–4, step 1 |
| Columns on tablet Shown when Collection is set and the section’s layout is “sheet”. | Select | 3 | |
| Columns on mobile Also used in the drawer. One column shows the products as rows. Shown when Collection is set. | Select | 2 | |
| Image ratio Shown when Collection is set. | Select | Portrait | |
| Show vendor Shown when Collection is set. | Checkbox | Off | |
| Show badges Shown when Collection is set. | Checkbox | On | |
| Show add to cart Adding a product closes search and opens the cart. Shown when Collection is set and the section’s layout is set. | Checkbox | On |
Shop by collection
Section titled “Shop by collection”Used in: Product sheet, Where to start and in the 8 sections that accept any theme block.
| Setting | Type | Default | Options and range |
|---|---|---|---|
| Heading | Text | Shop by collection | |
| Collections | Collections | — | up to 8 |
| Show collection image | Checkbox | On |
- Shop by collection
Starts with: empty
Search menu
Section titled “Search menu”Used in: Cart drawer, Cart, Predictive search, Where to start and in the 8 sections that accept any theme block.
| Setting | Type | Default | Options and range |
|---|---|---|---|
| Heading | Text | Popular | |
| Menu | Menu | main-menu | |
| Link style Shown when Menu is set and the section’s layout is set or the section’s filter_layout is set. | Select | Headline | |
| Columns Shown when Menu is set. | Range | 1 | 1–3, step 1 |
| Columns on mobile Shown when Menu is set. | Select | 1 |
Recent searches
Section titled “Recent searches”Used in: Predictive search, Where to start and in the 8 sections that accept any theme block.
| Setting | Type | Default | Options and range |
|---|---|---|---|
| Heading | Text | Recent searches | |
| Searches to remember | Range | 5 | 3–8, step 1 |
| Show “Clear” button | Checkbox | On |