> For the complete documentation index, see [llms.txt](https://help.byinspiredlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.byinspiredlabs.com/product-page/product-recommendations.md).

# Product recommendations

In the Product page, the **Product recommendations** section displays **related products** are automatically generated based on products in related collections, products that are commonly purchased together, or similar product descriptions and **recently viewed products**.&#x20;

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

### **1. Definition:**

* **Related products:** Dynamically generated recommendations based on frequently bought-together items, product descriptions, and related collections. Accuracy improves progressively with increased order and product data.
* **Recently viewed products:** Displays a history of products a customer has interacted with, facilitating recall and driving conversions by encouraging purchase completion.

### **2. Section settings:**

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

* **Products per row on desktop:** Defines the number of products displayed per row on desktop layouts from 2-4 products.
* **Product card settings:**
  * **Image ratio:** Configures product image aspect ratio for visual consistency: *Adapt to image, Portrait, Square.*
  * **Show color swatches**: Enables color swatch previews for product variants.
  * **Enable quick add button:** Activates Quick view functionality, allowing users to preview product details without navigating away from the page.
* **Mobile layout settings: Products per row on mobile:** Defines mobile display structure for an optimized browsing experience.

### **3. Block settings**

* **Related products:** *(Maximum: 1 instance)*
  * **Heading** – Customizable block title for contextual clarity.
  * **Maximum products displayed:** Defines the upper limit for product recommendation&#x73;*: from 2 to 12 products.*
* **Recently viewed products:** *(Maximum: 1 instance)*
  * **Heading**: Customizable block title.
  * **Maximum products displayed:** Determines the number of recently viewed items retained for user reference: *from 2 to 12 products.*

{% hint style="info" %}
**Note**: If no heading is provided, the respective block remains hidden.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.byinspiredlabs.com/product-page/product-recommendations.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
