Recently Viewed Products
On this page
The Recently Viewed Products section is a high-converting dynamic feature that allows shoppers to effortlessly retrace their steps and return to perfumes and attars they recently explored.
Whether a buyer is comparing different scent profiles, deliberating over bottle sizes, or returning from browsing seasonal collections, this section uses lightweight client-side browser storage (localStorage) to remember recently viewed fragrances and display them without impacting page load speed.
Smart Features Built into Alembiq
- Self-Exclusion on Product Pages: When viewed on a single product page, the section automatically filters out the fragrance the customer is currently inspecting, ensuring they never see an awkward duplicate card.
- Auto-Hides When Empty: If a first-time visitor has no browsing history yet, the section remains completely hidden, keeping your layout clean and seamless.
Where to Add This Section
While most commonly placed near the bottom of single Product detail pages (below the main product and customer reviews), you can also add this section to:
- Homepage: Welcoming returning fragrance lovers back with the scents they were browsing during their last visit.
- Cart Page / Drawer: Giving shoppers a final opportunity to add fragrances they were deliberating on before checking out.
- Collection Pages: Keeping recently viewed bottles easily accessible as customers browse wider catalogs.
Tip: To add the section, navigate to your Shopify Theme Editor, open the desired template (e.g., Products > Default product), click Add section in the sidebar, and select Recently viewed product.
1. Layout & Header Settings
| Setting Name | Type | Options / Range | Default | Description |
|---|---|---|---|---|
| Color scheme | Color Scheme Picker | Any configured color scheme | Scheme 1 | Sets the background and text color scheme across the entire section. |
| Section width | Dropdown | Page width, Full width | Full width | Choose Page width to contain items within your site container or Full width for edge-to-edge presentation. |
| Subheading | Text | e.g., “Your Scent Journey” | Subheading | Small uppercase label displayed above the section title. |
| Subheading size | Dropdown | H1 – H6 | H5 | Sets the typography size hierarchy for the subheading. |
| Heading | Text | e.g., “You Recently Viewed” | You recently viewed | The section headline displayed above the products. |
| Heading size | Dropdown | H1 – H6 | H4 | Controls the typography scale of the section title. |
| Description | Textarea | Formatted text | None | Optional description text displayed beneath the headline. |
| Text size | Dropdown | H1 – H6 | H5 | Sets the font size of the description text. |
| Text align | Dropdown | Left, Center, Right | Left | Aligns the section heading and description. |
2. Product Card Customization
Customize what information and actions appear on each perfume card:
| Setting Name | Type | Default | Description |
|---|---|---|---|
| Show secondary image on hover | Checkbox | Disabled | Hovering reveals a secondary photo (ideal for showcasing perfume packaging, flacon detail, or lifestyle staging). |
| Show Add to cart | Checkbox | Enabled | Embeds an instant bottle size selector and “Add to Cart” button directly on the card to encourage quick purchases. |
| Show vendor | Checkbox | Enabled | Displays the perfume house or brand name above the product title. |
| Show rating | Checkbox | Enabled | Displays star ratings and review counts from your connected review app. |
| Show variant swatches | Checkbox | Enabled | Displays interactive bottle size or scent swatches directly on the card so shoppers can preview alternate sizes. |
3. Desktop View & Slider Controls
| Setting Name | Type | Options / Range | Default | Description |
|---|---|---|---|---|
| Desktop view | Dropdown | Grid, Slideshow | Grid | Choose between a classic multi-column card grid or a smooth horizontal carousel on desktop. |
| Show navigation | Checkbox | Enabled / Disabled | Enabled | Displays previous/next slider arrow buttons (active when Slideshow view is selected). |
| Show pagination | Checkbox | Enabled / Disabled | Enabled | Displays pagination indicator dots beneath the slider. |
4. Responsive Grid & Product Limits
| Setting Name | Type | Options / Range | Default | Description |
|---|---|---|---|---|
| Products limit | Slider / Range | 2 – 50 (Step: 1) | 8 | Maximum number of previously viewed fragrances to display in the section. |
| Desktop products per row | Slider / Range | 2 – 6 (Step: 1) | 4 | Number of columns displayed on desktop screens. |
| Mobile products per row | Slider / Range | 1 – 3 (Step: 1) | 2 | Number of columns displayed on mobile phone screens. |
| Mobile slideshow for grid | Checkbox | Enabled / Disabled | Disabled | When desktop is set to Grid, enabling this converts the mobile display into a horizontal touch-swipeable track. |
5. Section Padding
| Setting Name | Type | Range / Step | Default | Description |
|---|---|---|---|---|
| Top padding | Slider / Range | 0px – 200px (Step: 5px) | 35px | Adds vertical whitespace above the section (automatically scaled down on mobile). |
| Bottom padding | Slider / Range | 0px – 100px (Step: 1px) | 35px | Adds vertical whitespace below the section (automatically scaled down on mobile). |

Pro Tips for Stores
- Strategic Placement on Product Pages: Place Related Products right under the main product details for scent cross-selling (e.g., “Pairs Well With…”), and position Recently Viewed Products directly below that as a helpful reminder for shoppers exploring multiple fragrances before deciding.
- Combine with Swatches and Quick Add: By keeping Show variant swatches and Show Add to cart enabled, a customer who already checked out a perfume earlier can select their preferred bottle size (e.g., 50ml or 100ml) and add it directly to their cart in a single click.
- Mobile 2-Column Grid or Swipe: Setting Mobile products per row to
2creates a clean, elegant lookbook grid. If your shoppers typically view many fragrances per visit, turn on Mobile slideshow for grid so they can swipe sideways smoothly through their browsing history.
Was this article helpful?
Thanks for the feedback.
Still need help?
Can't find what you're looking for? Send us a message and we'll help you out.