> 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/delete-products/identification-of-related-products.md). Agents can also search and read this documentation through its [MCP server](https://usermanual.ergonode.com/~gitbook/mcp).

# Identification of related products

Find what still relates to a product before deleting it: product relation attributes, grouping product children and variants.

Relations are everything that connect one product to another. They may be a product relation attribute, or they may be used as children in grouping products, or they may be variants of other main products.

## Product relation attribute

First, determine if there are any product relation attributes in the system.

Go to **Product design > Attributes** and double-click on the cell just under the **Type** field. This will open a list of all available attribute types.

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2F9P2tT8LBQZ4sBfNrMK64%2Fimage.png?alt=media&#x26;token=79807720-a3c7-49c3-b306-42ef6ae1a8fc" alt=""><figcaption></figcaption></figure>

Find the **Product relations** attribute type and select it. Then press **Ok**.

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2FP7nGxHBk1czSiOmREjIr%2Fimage.png?alt=media&#x26;token=5b018f0a-07ab-40af-bdea-cee4fdf0c0d1" alt="" width="255"><figcaption></figcaption></figure>

This action will filter out all Product Relation type attributes that are created in the system.

Then, look for these attributes in the product (Products > Catalog) of the product you want to delete. Clear their values and save the changes.

You may also add those attributes to the product catalog grid as described [HERE](https://usermanual.ergonode.com/products/catalog/system-views/custom-views) and work from there.

{% hint style="info" %}
Keep in mind that a different product may have a relation (value in the attribute) that relates to the product you wish to delete.
{% endhint %}

To check for this, drag the product relation attribute from the attributes side panel (see [Catalog](https://usermanual.ergonode.com/products/catalog)) to the product catalog grid. Then double-click the column's filter cell, click ***Add products***, select the product you want to delete and click ***Add products***. The filter will return only those products that have relations to the one you’re interested in.

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2FJaTjx9oKwyYrGu6RRUaE%2Fimage.png?alt=media&#x26;token=7893eb9d-10ae-497b-b12e-612cb1398ff9" alt=""><figcaption></figcaption></figure>

## Grouping product

To easily find out if a product you wish to delete is connected this way, follow the same method as described earlier. Drag the system attribute ***Product children*** from the ***System attributes*** tab of the attributes side panel (see [Catalog](https://usermanual.ergonode.com/products/catalog)) to the product catalog grid. Then double-click the column's filter cell, click ***Add products***, select the product you want to delete and click ***Add products***. The filter will return only the grouping products that have this product as a child. The column shows how many children each grouping product has.

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2FzP3FmBGJhvAAoj9nugGc%2Fimage.png?alt=media&#x26;token=143fd9f3-1aa9-4fd5-bf4c-fb2a29e466ba" alt=""><figcaption></figcaption></figure>

## Variable products

The same approach applies to variable products. Add the system attribute ***Product variants*** to the grid and filter it by the product you want to delete. The filter will return the product with variants that has this product as a variant.

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2FS4o7e4gSqev6Aj5wPeo2%2Fimage.png?alt=media&#x26;token=8324db1f-0eeb-4857-be11-95d202f33c9c" alt=""><figcaption></figcaption></figure>


---

# 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/delete-products/identification-of-related-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.
