{"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 [Collection module (Beta)](/docs/tutorials/creating-collections-beta). This article is about how to configure collections through the CMS Portal (Legacy).\n\nA product collection allows you to group catalog items based on criteria such as department, category, brand, release period, or specific SKUs, creating themed showcases for campaigns, seasonal events, or store-specific curated collections. This grouping makes it easier to organize and display related products, enhancing navigation and the customer shopping experience.\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, release period, or by specific SKUs.\n\n## Before you begin\n\nTo create and edit collections in the CMS Portal (Legacy), the user must 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) tutorial. If you can't access this page, 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 **Layout**.\n3. Click the folder **Product Clusters (Collections)**.\n4. Click `new collection`.\n   ![Layout 4](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/pt/tutorials/catálogo/coleções/criando-colecao-de-produtos_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 searchable or not in the store.\n   - **From/To:** Defines the collection's expiration 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://{store}.com/search?fq=H:{collection-ID}`. To use a more user-friendly URL (for example, `https://{store}.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](/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](/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, use the folder search field to find the collection by name.\n\n   ![Pesquisar_cole__o](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/pt/tutorials/catálogo/coleções/criando-colecao-de-produtos_9.gif)\n\n3. Click `new group`.\n\n   ![Layout 5](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/pt/tutorials/catálogo/coleções/criando-colecao-de-produtos_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 of type **Inclusion**. 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   - Release period (pre-sale or recent release)\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 that are both in category AA and brand BB will be included in the group.\n   > 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, category, or subcategory** to a group, select the department, category, or subcategory in the **Categories** column.\n\n![Filtro_por_categoria](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/pt/tutorials/catálogo/coleções/criando-colecao-de-produtos_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![FIltro_por_marca](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/pt/tutorials/catálogo/coleções/criando-colecao-de-produtos_4.jpg)\n\n#### Release period (pre-sale or release)\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 **Market launch date** field of the product registration.\n- **Launches:** Includes products with a **Market launch date** within the last 30 days.\n\n>⚠️ These flags are a complement to the choice of products. Note that these flags will only work if you have selected a category, brand, or a combination of SKUs for the collection. 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![Inclusão manual de SKUs específicos em um grupo.](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/pt/tutorials/catálogo/coleções/criando-colecao-de-produtos_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. Click the `Localizar` button below **Bulk insert SKUs** to locate the spreadsheet on your computer.\n2. Click `import skus` to import the SKUs.\n\n   ![2017-03-08_170117](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/pt/tutorials/catálogo/coleções/criando-colecao-de-produtos_6.jpg)\n\nAfter the spreadsheet has been imported, the SKUs are displayed as follows:\n\n![Importar_lista_de_skus](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/pt/tutorials/catálogo/coleções/criando-colecao-de-produtos_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. Where a product has more than one SKU, just add one of the SKUs to the group, and all associated SKUs will be included in it. Also, when the number of SKUs on the list exceeds 10 items, a pagination control will become available. To exclude an SKU from the list, just click the red button beside the corresponding SKU.\n\n>ℹ️ Download the [spreadsheet template](https://cdn.statically.io/gh/vtexdocs/help-center-content/files-migration-script/docs/pt/tutorials/catálogo/coleções/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. Click the `Localizar` button below **Bulk exclude SKUs** to locate the spreadsheet on your computer.\n2. Click `remove skus` to remove the SKUs.\n\n![Exclusão de uma lista de SKUs de um grupo por meio de planilha.](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/pt/tutorials/catálogo/coleções/criando-colecao-de-produtos_8.gif)\n\n>ℹ️ You can use the same [spreadsheet template](https://cdn.statically.io/gh/vtexdocs/help-center-content/files-migration-script/docs/pt/tutorials/catálogo/coleções/Colecao.xls) used for adding SKUs in bulk."}