---
title: Managing product collections
related:
  - https://docs.kentico.com/13/e-commerce-features/managing-on-line-stores/products.md
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

The Xperience E-commerce Solution allows you to assign each [product](https://docs.kentico.com/13/e-commerce-features/managing-on-line-stores/products.md) to a collection. You can use collections to organize products internally, define the scope of certain types of [discounts](https://docs.kentico.com/13/e-commerce-features/managing-on-line-stores/discounts.md), or display the values on your website (e.g. for clothing products).

## Defining collections

To create or edit product collections:

1. Open the **Collections** application.
2. Click **New collection** or **Edit** () an existing object.
3. Set the collection properties:

   - **Display name** – specifies the name of the collection.
   - **Code name** – serves as a unique identifier of the collection object (for example used by developers in custom code). Unless there is a reason to set a particular value, you can leave the default _(automatic)_ option, and the system generates an appropriate code name automatically.
   - **Description** – allows you to type a text description for the collection.
   - **Enabled** – indicates whether the collection is active in your on-line store. Products can be assigned to collections that are disabled (they only appear grayed out in selectors).
4. Click **Save**.

You can now assign products to the defined collections.

> **Note:** **Note**: Collections are [site-related objects](https://docs.kentico.com/13/e-commerce-features/configuring-on-line-stores/choosing-site-or-global-e-commerce-configuration.md). If you wish to use a single collection across multiple sites, you need to create the same collection object separately for each site.

## Assigning products to collections

To assign a product to a collection:

1. Open the **Products** application.
2. [Add a new product](https://docs.kentico.com/13/e-commerce-features/managing-on-line-stores/products/adding-new-products.md) or select an existing one.
3. Select one of the available options in the **Collection** field on the product's **General** tab. Each product can only belong to one collection.

   ![Assigning a product to a collection](https://docs.kentico.com/docsassets/13/managing-product-collections/assigning_product_collections.png "Assigning a product to a collection")
4. Click **Save**.

The product is now assigned to the selected collection.
