# Gift finder

> A short quiz that suggests pieces based on the answers.

Source: https://spellnsell.com/themes/kera/docs/reference/sections/gift-finder · Kera 1.0.0 · Updated 2026-11-16

A short quiz that suggests pieces based on the answers.

- **Where it can go:** Any page
- **Area:** Jewelry tools
- **Blocks:** up to 5
- **File:** `sections/gift-finder.liquid`

## Section settings

| Setting | Type | Default |
| --- | --- | --- |
| **Color scheme** | Color scheme | Scheme 1 |
| **Eyebrow** | Text | Gift finder |

Add a question for each step, then its answers. Shoppers answer one question at a time and get the pieces that fit best.

### Results

| Setting | Type | Default | What it does |
| --- | --- | --- | --- |
| **Products from** | Collection |  | The first 50 available products are matched. Leave empty to use all products. |
| **Number of results** | Slider 2 to 4 | 3 |  |
| **Result heading** | Text | Gifts they’ll keep | An answer to the first question can set its own. |
| **Show note** | On/off | On |  |
| **Note** | Text | Add a short note about gifting |  |

### Section spacing

| Setting | Type | Default | What it does |
| --- | --- | --- | --- |
| **Top spacing** | Choice | Medium | Options: None, Small, Medium, Large. |
| **Bottom spacing** | Choice | Medium | Options: None, Small, Medium, Large. |


## Blocks

:::details Question
Type: `_gift-finder-question`

| Setting | Type | Default |
| --- | --- | --- |
| **Question** | Text | Who is the gift for? |
| **Text** | Text |  |

Earlier questions weigh more. When nothing fits every answer, the later questions give way first.

:::

:::details Question > Answer
Type: `_gift-finder-answer`

| Setting | Type | Default | What it does |
| --- | --- | --- | --- |
| **Label** | Text | For her |  |
| **Product tags** | Text |  | Comma separated. Products with any of these tags match. Leave empty to match every product. |
| **Result heading** | Text |  | Used when this answer is chosen on the first question, for example Gifts she’ll keep. |

:::

:::details Question > Budget answer
Type: `_gift-finder-budget`

| Setting | Type | What it does |
| --- | --- | --- |
| **Label** | Text | Leave empty to name it from the prices, for example Under €75. |
| **Minimum price** | Number | In your store currency. Leave empty for no minimum. |
| **Maximum price** | Number | Prices up to but not including this one. Leave empty for no maximum. |

:::

## Developer notes

Gift finder: a few questions, one at a time, then the pieces that fit the answers. Each question is a theme block with its answers as nested blocks: an Answer matches product tags, a Budget answer a price range. The products of the chosen collection (all products when empty), up to 50, come as product cards from sections/gift-finder-pool.liquid, fetched when assets/gift-finder.js loads, so they don't weigh on the page's HTML. The script scores them against the answers: earlier answers weigh more, and a budget gives way when nothing is in it, so there is always something to show. Without JavaScript the finder is hidden (.no-js) and a link to the collection shows instead. Until the script runs, the first question shows.
