# Complementary products

The **Complementary Products** block is used to showcase relevant items that enhance or pair well with the main product. This feature helps increase average order value by suggesting products based on relationships defined using the[ Shopify Search & Discovery app](https://help.shopify.com/manual/online-store/search-and-discovery/product-recommendations).

<figure><img src="/files/Cyuv6MskL2sPMCOXz7fl" alt="Picture depicting the Complementary Products block of the product pages section"><figcaption></figcaption></figure>

<table><thead><tr><th width="172.77606201171875">Settings</th><th width="106.7569580078125" align="center">Type</th><th>Description</th></tr></thead><tbody><tr><td>Number of products</td><td align="center"><code>range</code></td><td>Sets how many complementary products to show.</td></tr><tr><td>Layout</td><td align="center"><code>select</code></td><td>Choose how products are displayed: <code>Stacked</code> or <code>Slider</code>.</td></tr><tr><td><strong>Slider</strong></td><td align="center"></td><td></td></tr><tr><td>Auto-rotate slides</td><td align="center"><code>checkbox</code></td><td>If enabled, slider will automatically rotate through products.</td></tr><tr><td>Change slides every</td><td align="center"><code>range</code></td><td>Time interval (in seconds) between slide changes.</td></tr><tr><td><strong>Colors</strong></td><td align="center"></td><td></td></tr><tr><td>Background</td><td align="center"><code>color</code></td><td>Background color override for the block.</td></tr><tr><td><strong>Padding</strong></td><td align="center"></td><td></td></tr><tr><td>Bottom</td><td align="center"><code>range</code></td><td>Adjusts the block's bottom padding.</td></tr></tbody></table>

#### Notes

* You must install and use the **Search & Discovery** app to define complementary products.
* Layout controls how the items are presented: **Stacked**: vertical listing. ; **Slider**: horizontal carousel with optional autoplay.
* Background color can be customized to stand out or blend in with your design.
* Ideal for cross-selling accessories, add-ons, or frequently bought together products.


---

# 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://broadcast.presidiocreative.com/product-theme-blocks/complementary-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.
