> For the complete documentation index, see [llms.txt](https://usermanual.ergonode.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://usermanual.ergonode.com/products/catalog/batch-actions/edit-collections.md).

# Edit collections

Batch action to add products to a collection or remove them from it.

{% hint style="info" %}
Batch actions work in the background, when they are fully executed you will see confirmation in the [Action center](/dashboard/dashboard/user-menu-and-action-center.md) and a new entry in [Activities](/system/activities/batch-actions.md).
{% endhint %}

To open this batch action, select products in the grid, click on ***Edit*** in the bar above the grid and choose ***Collections***. A window opens with the number of selected products in its title, for example ***Edit collection for 2 products***. The ***X*** icon in the upper right corner closes it. There are 2 actions you can take here:

## Add to collection

Products selected in the product catalog (grid) will be added to the collection. To choose this action, click on the ***Add to collection*** tile.

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2Fa5t3HxK12p2nKZmoxWfo%2Fimage.png?alt=media&amp;token=25da2493-1304-4689-9529-52dcd53b04b8" alt="" width="563"><figcaption></figcaption></figure>

The next step is to choose the collection from the drop-down list to which the products will be added.

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2FS3USHaG0FuMSlFu34qUN%2Fimage.png?alt=media&amp;token=4fcd58c2-1684-4ae7-98a9-2963a2281e94" alt="" width="563"><figcaption></figcaption></figure>

The ***Collection*** field is required. Click on it to open the list of collections. Type in the ***Search...*** field to narrow the list down, then click on the collection.

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2FnnfGRilTghJVw5oOX8Jt%2Fimage.png?alt=media&amp;token=1b158c1a-cb67-4cc2-825c-2943ed374bfe" alt="" width="563"><figcaption></figcaption></figure>

Click on ***Add to collection*** to proceed or ***Cancel*** to abort. You will see a final confirmation window with the number of products to process. Click ***Start batch action*** to make the changes or ***Cancel*** to go back to the form.

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2FPtOTS9GMisHkT0FnQfKC%2Fimage.png?alt=media&amp;token=248bd964-79f9-4731-a9d1-c87abfb3ce12" alt="" width="563"><figcaption></figcaption></figure>

The progress shows in the same window. You can close it: the action continues, and you can follow it in the [Action center](https://usermanual.ergonode.com/dashboard/dashboard/user-menu-and-action-center/action-center). When the batch action is finished, click on ***Finish*** to close the window or ***See details*** for more information. The ***three dots*** menu next to the status holds ***See details*** too.

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2F3CA77UxraHRULa9uz4Le%2Fimage.png?alt=media&amp;token=1337b11e-0cd4-41d0-9c34-b44a52b3f1f5" alt="" width="563"><figcaption></figcaption></figure>

## Remove from collection

Products selected in the product catalog (grid) will be removed from the collection. To choose this action, click on the ***Remove from collection*** tile.

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2FLk2JIWia4eZ4G2QLZ60y%2Fimage.png?alt=media&amp;token=7cf54b6c-e280-47f2-9bbe-f717e17269b4" alt="" width="563"><figcaption></figcaption></figure>

The next step is to choose the collection from the drop-down list from which the products will be removed.

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2Fuk3wZw9MIwtue78EMQMI%2Fimage.png?alt=media&amp;token=b1f2f130-7ea9-4234-ae13-14c83e72dd46" alt="" width="563"><figcaption></figcaption></figure>

This works the same way as [Edit collections](/products/catalog/batch-actions/edit-collections.md#add-to-collection) click on ***Remove from collection*** and confirm with ***Start batch action***.


---

# 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://usermanual.ergonode.com/products/catalog/batch-actions/edit-collections.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.
