{"section":"tutorials","requestedLocale":"en","requestedSlug":"creating-a-product-collection","locale":"en","slug":"creating-a-product-collection","path":"docs/en/tutorials/catalog/collection/creating-a-product-collection.md","branch":"main","content":">⚠️ There are two ways to configure collections, through the CMS Portal (Legacy) or the [Collections Beta](/docs/tutorials/creating-collections-beta) module. This article covers how to configure collections in CMS Portal (Legacy).\n\nA product collection allows you to group catalog items based on criteria such as department, category, brand, launch period, or specific SKUs, creating themed window displays for campaigns, holidays, or store-specific curated selections. This grouping makes it easier to organize and display related products.\n\nIn this tutorial, you'll learn how to:\n\n- Create a product collection.\n- Configure a friendly URL to access it.\n- Include groups of products by department, category, brand, launch period, or specific SKUs.\n\n## Before you begin\n\nTo create and edit collections in CMS Portal (Legacy), you need to have the Owner (Admin Super) role or create another role with access to the following resources:\n\n- **Read Collections**, in the Collection section of Catalog roles.\n- **Write Collections**, in the Collection section of Catalog roles.\n- **CMS Management**, in the Configuration section of Catalog roles.\n\nTo create a role, see the **Creating roles** section of the [Roles](/docs/tutorials/roles#creating-roles) tutorial. If you can't access this area, ask your store admin to grant this permission on your role in [License Manager](/docs/tutorials/license-manager-resources).\n\n## Instructions\n\n### Creating collections\n\nTo create a collection, follow the instructions below:\n\n1. In the VTEX Admin, go to **Storefront > Layout**.\n2. Click **CMS**.\n3. Click the **Product Clusters (Collections)** folder.\n4. Click `new collection`.\n   ![Collection form in CMS.](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/catalog/collection/creating-a-product-collection_1.png)\n5. Complete the required information:\n   - **Product Cluster Id:** Collection identifier code. This field doesn't need to be completed, as it's automatically generated by the system when saving.\n   - **Name:** Name of the collection.\n   - **Highlight:** Defines whether the collection will be highlighted or not.\n   - **Searchable:** Defines whether the collection will be indexed for search in the store.\n   - **From/To:** Defines the collection start and end dates.\n6. Click `Save Product Cluster` to save the collection.\n\n### Creating a friendly URL for the collection\n\nBy default, the access link for a collection follows the format `https://{storeName}.com/search?fq=H:{collectionId}`. To use a friendlier URL (for example, `https://{storeName}.com/all-products`), set the collection as searchable and associate it with a CMS folder with Search Context configured:\n\n1. Make the collection display in search results by marking the **Searchable** flag in the collection settings. Learn more in [Making product collections searchable](/en/docs/tutorials/making-product-collections-searchable).\n2. Create a folder with a custom URL. See the instructions in the [How to create landing pages with custom URLs](/en/docs/tutorials/how-to-create-landing-pages-with-customized-urls) tutorial.\n\n### Adding groups to the collection\n\nThe composition of a collection's products is defined by **groups**. To add groups to a collection, follow the steps below:\n\n1. In the VTEX Admin, go to **Storefront > Layout > CMS > Product Clusters (Collections)**.\n\n2. Click the desired collection. If your store has more than 20 collections registered, use the folder search field to find the collection by name.\n\n   ![Collections search field in the Product Clusters folder.](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/catalog/collection/creating-a-product-collection_9.gif)\n\n3. Click `new group`.\n\n   ![Button to create a new group in the collection.](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/catalog/collection/creating-a-product-collection_2.png)\n\n4. In the **Group Name** field, give the group a name.\n\n5. In the **Group Type** field, set the group type, that is, whether it's `Inclusive` or `Exclusive`:\n\n   - `Inclusive`: Includes the group's products in the collection.\n   - `Exclusive`: Excludes the group's products from the collection.\n\n   For any collection, the first group created must be `Inclusive`. When a collection has multiple groups, the final result is calculated as follows:\n\n   `Collection products = (sum of inclusion groups) - (sum of exclusion groups)`\n\n   > ⚠️ Always pay attention to the type of group selected during setup. Products added to an `Exclusive` group are **not** included in the collection. In fact, they're removed from it if they also belong to any inclusion group. This is one of the most common mistakes when configuring collections with multiple groups.\n\n6. Define which products will be part of the group. You can define group composition based on the following criteria, which can be combined to achieve the expected result:\n\n   - Department, category, or subcategory\n   - Brand\n   - Launch period (pre-sale or recent launch)\n   - Specific SKUs (manually or by importing a spreadsheet)\n\n   > ⚠️ When combining more than one criterion in the same group, only products that meet **all the selected criteria** (intersection) will be included. For example, if you select category AA and brand BB, only products in that category **and** that brand will be included in the group. Products from category AA of other brands or from brand BB of other categories will be excluded.\n\n7. Click `Save Group` to save the group configuration.\n\n#### Department, category, or subcategory\n\nTo add all the products from a **department** to a group, select the department and also the categories and subcategories linked to it in the **Categories** column. Each level is selected independently.\n\n>⚠️ When you select a department, the categories and subcategories linked to it are **not** automatically selected. To include all products from a department, also select each category and subcategory linked to it. The same applies to a category: to include all its products, also select the subcategories linked to it.\n\n![Selecting department, categories, and subcategories in the Categories column.](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/catalog/collection/creating-a-product-collection_3.jpg)\n\n#### Brand\n\nTo add products from **one or more brands** to a group, select them in the **Brands** column. Brands are listed in alphabetical order. Clicking the letter corresponding to the brand's initial letter expands the list and displays the existing brands.\n\n![Brand selection in the Brands column.](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/catalog/collection/creating-a-product-collection_4.jpg)\n\n#### Launch period (pre-sale or launch)\n\nIn **Other options**, select one of the options below. You can't select both options in the same group. If you want to cover both scenarios, create two separate groups.\n\n- **Pre-sales:** Includes products with a date later than the current date in the **Release date** field of the product registration.\n- **Launches:** Includes products with a **Release date** within the last 30 days.\n\n>⚠️ The **Pre-sales** and **Launches** options only work as a complement to a category, brand, or SKU selection already made in the same group. On their own, they don't return any products.\n\n#### Specific SKUs\n\nYou can add specific SKUs to a group manually, using the **Find SKUs** field, or in bulk through a spreadsheet.\n\nTo manually add specific SKUs to a group, in the **Find SKUs** field, enter the IDs of one or more SKUs, separating them with commas (for example, `2000004,2000009,2000005`).\n\n>ℹ️ The ID insertion field doesn't allow typing alphanumeric characters or using the `Control + C` and `Control + V` key combinations.\n\n![Manually adding specific SKUs to a group.](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/catalog/collection/creating-a-product-collection_5.gif)\n\nTo add specific SKUs to a group in bulk, you can import a list of SKUs using an Excel spreadsheet (`.xls`). All SKU IDs you want to include in the group must be listed in the spreadsheet's first column, under the `SKU` header.\n\n1. In **Bulk insert SKUs**, click the file selection button to locate the spreadsheet on your computer.\n2. Click `import skus` to import the SKUs.\n\n   ![Bulk insert SKUs field and button to import the spreadsheet.](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/catalog/collection/creating-a-product-collection_6.jpg)\n\nAfter the spreadsheet is imported, it's displayed as follows:\n\n![SKU spreadsheet imported into a group.](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/catalog/collection/creating-a-product-collection_7.gif)\n\nThe IDs of inactive SKUs won't be imported, even if they're included in the spreadsheet.\n\nWhen you link a SKU to a group, whether manually or in bulk, the corresponding product is also added to the collection. If the product has more than one SKU, all other SKUs linked to it are included automatically.\n\nWhen the list exceeds 10 SKUs, a pagination control becomes available.\n\nTo remove a SKU from the list, click the red button next to it.\n\n>ℹ️ Download the [spreadsheet template](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/catalog/collection/Colecao.xls) for adding SKUs in bulk.\n\n#### Excluding multiple SKUs from a group\n\nTo avoid manually excluding SKUs one by one, you can use the same spreadsheet import feature used to [create groups with specific SKUs](#specific-skus).\n\n1. In **Bulk exclude SKUs**, click the file selection button to locate the spreadsheet on your computer.\n2. Click `remove skus` to remove the SKUs.\n\n![Excluding a list of SKUs from a group via spreadsheet.](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/catalog/collection/creating-a-product-collection_8.gif)\n\n>ℹ️ You can use the same [spreadsheet template](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/catalog/collection/Colecao.xls) used for adding SKUs in bulk."}