# Addons Priority

### Priority Rule

When add-ons are created for both:

* An **individual product**
* A **collection** that also includes that product (with different add-ons)

The app will always give **priority to the add-ons created for the individual product**.

***

### Example Scenario

* **Product A** belongs to **Collection ABC** (which includes Product A, Product B, and Product C).
* Add-ons have been created as follows:
  * **Product A Add-ons:** Products X, Y, Z
  * **Collection ABC Add-ons:** Products U, V, W

<table><thead><tr><th width="217">Master</th><th width="182">Addon-1</th><th>Addon-2</th><th>Addon-3</th></tr></thead><tbody><tr><td>Product A</td><td>Product X</td><td>Product Y</td><td>Product Z</td></tr><tr><td>Collection ABC</td><td>Product U</td><td>Product V</td><td>Product W</td></tr></tbody></table>

***

### Expected Results

**On the Product Page (Product A):**

* Only the **Product A add-ons** (X, Y, Z) will be shown.

**On the Cart Page (with Product A added):**

* Both **Product A add-ons (X, Y, Z)** and **Collection ABC add-ons (U, V, W)** will be shown.

Here is the video demonstrating the functionality:

{% embed url="<https://vimeo.com/916229549>" %}


---

# 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/priority-of-individual-product-addon-v-s-collection-product-addons.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.
