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

# Sub-collections

{% hint style="success" %}
New in Pipeline 5.2
{% endhint %}

![](/files/-Mddtw7P7JzVvbI9eSST)

Add links to other related collections on any of your collection pages with Pipeline:

![Each collection can have unique subcollections ](/files/-MddeyON4T3Ix_0JfFiF)

#### How it works

Pipeline uses Shopify's Navigation menu system to bring-in custom menu items into any collection page and displays them as subcollections with a graphical image, collection name and link

#### How to setup

Using the Theme Editor, navigate to collection where you'd like to add subcollection links.

Enable the option to Show subcollections:

![Only required once](/files/-Mde5u3JeAyHfUcXWmr1)

Next, use the link to create a navigation list, the rest is done right in the Shopify Navigation editor.

Create a new menu with same name as your collection:

![Match the handle of your collection with the menu](/files/-MddjOlV6Ep-Gx_6Flb6)

Add your menu items, these will be the sub collection links:

![Add other collections as the menu items](/files/-MddjKhJpmCk8ubfLWr0)

{% hint style="success" %}
Create a new menu for each collection that will have subcollections. Each menu can have unique menu items as the subcollection links
{% endhint %}

#### Collection image

For best results, add a collection image to each of your subcollection collections:

![Collection image is used as the subcollection link image](/files/-Mddl3HIVufzxJwnJttb)

![](/files/-MddlUJUfxCEK2YJSeUh)

Subcollections require Pipeline 5.2

{% content-ref url="/pages/-MIKxF4vPDADvJrscFxi" %}
[Check your theme version](/pipeline-5/updates/check-theme-version.md)
{% endcontent-ref %}


---

# 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://pipeline.groupthought.com/pipeline-5/collections/subcollections.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.
