# Recently viewed products

<figure><img src="/files/3sJ0Ox1FAniKO1aJCwpl" alt=""><figcaption></figcaption></figure>

The **Recently viewed products** section lets your customers find the products they’d previously visited easily, enhancing user experience and boosting conversions.

This article will show you how to add and customize your **Recently viewed product** sections.

## How to add a Recently viewed products section

{% hint style="success" %}
**Steps**

1. In the theme editor **(Customize)**, click **Add section.**
2. Locate **Recently viewed products.**
3. Make necessary changes.
4. **Save.**
   {% endhint %}

## How to edit a Recently viewed products section

### Section header

Use the provided text fields to add a suitable **Heading**.

* Leave it blank if you do not want to display it

You can also change the **Heading size** to:

* Heading xs
* Heading sm
* Heading md
* Heading lg
* Heading xl
* Heading 2xl
* Display md
* Display lg
* Display xl

<figure><img src="/files/0Ye2pFFUktiubs3cIS3G" alt=""><figcaption></figcaption></figure>

### Highlight text

[How to apply Highlight text to the section heading and block headings?](/sleek-theme/pages-global-sections/general-settings.md#highlight-text)

Use the provided text fields to add a suitable **Subheading** and **Description**.

* Leave them blank if you do not want to display them

<figure><img src="/files/Rpzc7a4Gl9B0sQGiSBZc" alt=""><figcaption></figcaption></figure>

### Grid settings

* **Maximum products to show**: between 2-12 products.
* **Number of columns on desktop**: between 2-6 products.
* **Column gap**: Set the gap between product columns.
* **Row gap**: Set the gap between product rows.

<figure><img src="/files/pOmGqjTiBsoU3ilhUA99" alt=""><figcaption></figcaption></figure>

### Carousel settings

* **Enable carousel on desktop**: Display the product list on a carousel (when the number of recently viewed products > the number of columns on the desktop).

<figure><img src="/files/t5bvsjshlw8r1CCD0Do0" alt=""><figcaption></figcaption></figure>

### Product cards

* **Image ratio**: Set the image ratio of the product cards.

  <figure><img src="/files/nmirdo7lIk2mNB08SjJe" alt=""><figcaption></figcaption></figure>

### Mobile layout

* **Number of columns on mobile**: Set the number of product grid columns for mobile view.
* **Enable swipe on mobile**: Check the option to make the product list swipeable instead of showing in grid layout.

<figure><img src="/files/EllmCSDhO1QUHtFebOhQ" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.foxecom.com/sleek-theme/theme-sections/recently-viewed-products.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
