# Recently viewed

> Products the shopper looked at earlier.

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

Products the shopper looked at earlier.

- **Where it can go:** Any page
- **Area:** Product page
- **File:** `sections/recently-viewed.liquid`

## Section settings

| Setting | Type | Default | What it does |
| --- | --- | --- | --- |
| **Color scheme** | Color scheme | Scheme 1 |  |
| **Eyebrow** | Text | Recently viewed |  |
| **Heading** | Text | Still thinking it over? |  |
| **Heading size** | Choice | Extra small | Options: Extra large, Large, Medium, Small, Extra small. |
| **Products to show on desktop** | Slider 2 to 8 | 4 |  |
| **Products to show on mobile** | Slider 1 to 8 | 4 | Rows hold four products on desktop and two on tablets and mobile (3 on desktop shows one row of three). An odd last product is left out on tablets and mobile so no row holds one alone. |

### 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. |


## Developer notes

The product page remembers each visit in the browser (localStorage "kera:recent", product ids; assets/product.js). This section then fetches itself through search with those ids (?q=id:1 OR id:2…) and sorts the cards back into visit order, leaving out the product being viewed. Hidden until there is at least one other product; the theme editor shows placeholders.
