# Collection Sorting

#### **Collection Addons Priority in Easy Product Addons App**

* The app displays **collection addons** based on their **priority order**.
* If a product belongs to multiple collections, only the addons from the **highest-priority collection** will be shown.
* This ensures that addons do not overlap when a product is part of different collections.

**Example:**

* Master product: *Black Shirt (available in all the collections below)*
* Collections:
  * Shirts  → Priority 2
  * Printed Shirts → Priority 4
  * Accessories → Priority 6
* Addons are attached to all three collections.
* Since **Shirts** has the highest priority (2), only the addons linked to the **Shirts collection** will appear for the *Black Shirt*.

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

{% hint style="info" %}
If you encounter any difficulty, please get in touch with us at [**help@spicegems.com**](mailto:help@spicegems.com)
{% endhint %}


---

# 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://help.spicegems.com/epa-easy-product-addons/additional-features/collection-sorting.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.
