# Recently viewed products

### What It Does

The Recently viewed products section lets you display recently viewed products in a slider.\ <br>

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

{% hint style="success" %}

#### How to Add It

1. In the Shopify theme editor, click **Add section**.
2. Search for **"Recently viewed products"**.
3. Click the section to add it to your page.
4. Adjust the settings described below.
   {% endhint %}

***

### Settings

#### **Layout**

Controls the Layout. Choose from: Full width, Fit to width.

#### **Heading**

The heading text displayed in the title element.

#### **Body text**

Rich text content with formatting options.

**Recently viewed products**

#### **Maximum number of products to show**

Controls the Maximum number of products to show.

#### **Maximum number of products per view / row (desktop)**

Controls the Maximum number of products per view / row (desktop).

**Slideshow**

#### **Enable autoplay**

Enables autoplay. Disable it to turn it off.

#### **Enable loop**

Enables looping for the collection slider. Disable it to turn it off.

#### **Transition speed**

Adjusts the transition speed of the collection slider. Only works when autoplay is enabled.

#### **Show navigation arrows (desktop)**

When enabled, navigation arrows are displayed on desktop devices. Disable it to hide them.

#### **Show pagination**

When enabled, pagination is displayed. Disable it to hide it.

**Appearance**

#### **Heading font size**

Controls the heading text size in the title element. Choose from: Heading 6, Heading 5, Heading 4, Heading 3, Heading 2, Heading 1.

#### **Body text font size**

Controls the text size in the title element.

#### **Text alignment**

Controls the text alignment.

#### **Color scheme**

Applies a predefined color scheme to this element.

{% hint style="info" %}
Color schemes are sets of coordinated colors you define under **Theme settings > Colors**. Choosing a scheme applies its background, text, and accent colors.
{% endhint %}

#### **Button color scheme**

Controls the Button color scheme. Choose from: Primary, Secondary.

**Spacing**

#### **Maximum padding top**

Adjusts the space above the content.

#### **Maximum padding bottom**

Adjusts the space below the content.


---

# 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://moodboard-creations.gitbook.io/agnes/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.
