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

# 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="https://2636770384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsD7BEEDU3B7WiEJlN0F7%2Fuploads%2F7dQyzLRtYvZT5ZFmnIl4%2Fcomplementary-products.jpg?alt=media&amp;token=3b92f65a-f0c5-44a8-8f84-1fc5f65dcbea" 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
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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://broadcast.presidiocreative.com/product-theme-blocks/complementary-products.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
