{"section":"tutorials","requestedLocale":"en","requestedSlug":"adding-collections-cms","locale":"en","slug":"adding-collections-cms","path":"docs/en/tutorials/storefront/cms-portal-legacy/layout/adding-collections-cms.md","branch":"main","content":"> ⚠️ There are two ways to configure collections: through the CMS Portal (Legacy) or the [Collections Beta](/en/docs/tutorials/creating-collections-beta) module. This article is about how to configure collections through the CMS Portal (Legacy).\n\nFollow the steps below to add a new collection:\n\n1. In the VTEX Admin, access **Storefront > Layout**.\n2. In the CMS folder, click **Product Clusters (Collections)**.\n3. Click `new collection`.\n4. Complete the collection form fields. For more on the meaning of each one of these fields, read our article on [how to complete new collection fields](/en/docs/tutorials/filling-out-collection-registration-fields).\n5. Click `Save Product Cluster`.\n\n> ⚠️ When more than 20 collections are created, you can use the search field to find collections that aren't displayed in the list. Search this field by the name of the desired collection.\n\nThe products in a collection are selected by creating a **group**. To do this, click `new group` within the desired collection.\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/storefront/cms-portal-legacy/layout/adding-collections-cms_1.png)\n\nBefore selecting the products to include in the group, you need to name it and specify its type.\n\n## Group types\n\nThere are only two group types: `Inclusive` and `Exclusive`. An `Inclusive` group includes all its products in the collection it's linked to. Likewise, an `Exclusive` group excludes its products from the collection.\n\nFor example, consider a collection called Cellphones with two groups: group `A` is `Inclusive`, while group `B` is `Exclusive`. The component products of this collection will be the result of products from group A _minus_ products from group B.\n\nThis logic is used for any number of groups created within the same collection. Products in `Exclusive` groups are always subtracted from the products in `Inclusive` groups. As a result:\n\n`Collection component products = (A+B) - (C+D)`\n\nWhere:\n\n- A and B groups of type `Inclusive`\n- C and D groups of type `Exclusive`\n\nFor this reason, the first group created for any collection must be of type `Inclusive`.\n\n> ⚠️ Pay attention to the group type you set. For example, when you add products to an `Exclusive` group, they **won't** be included in the collection because of how this group type works.\n\n## Selecting products\n\nWithin a group, product selection can be based on:\n\n- Department, category, or subcategory\n- Brand\n- SKU\n- Release date\n\nYou can select more than one of the previous options to achieve a specific scenario. In these cases, **only the products that fall within the intersection of the selected options will be included in the group**.\n\nFor example, when you select category `A` and brand `B`, only products that belong to both that category and brand at the same time will be included in the group. For example, products in category `A` from brands other than `B` won't be in the collection, nor will products from brand `B` in other categories.\n\n## Products by department, category, or subcategory\n\nTo add all products from a specific department to a group, select the desired department, along with the categories and subcategories linked to it, since selecting the department **doesn't** automatically select the others. Then, click `Save Group`, as shown in the image below.\n\n![Selecting department, categories, and subcategories in a CMS collection.](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/storefront/cms-portal-legacy/layout/adding-collections-cms_2.png)\n\nEach level is selected independently. To include products from a specific category, also select the subcategories linked to it. To include only the products from a specific subcategory, select only that subcategory.\n\n![Selecting a category and subcategory in a CMS collection.](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/storefront/cms-portal-legacy/layout/adding-collections-cms_3.png)\n\n## Products by brand\n\nTo create a group with products from one or more brands, select the desired brand in the corresponding list.\n\n![Selecting brands in a CMS collection.](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/storefront/cms-portal-legacy/layout/adding-collections-cms_4.png)\n\nBrands are listed in alphabetical order. Clicking the letter corresponding to the initial of the desired brand expands the list and displays the existing brands.\n\n## Products by SKU\n\n### Manually\n\nWhen you add a SKU to a group, the product it's linked to will also be added. In a scenario where a product has more than one SKU assigned to it, adding a single SKU will cause all the others to be added to the group as well.\n\n![Manually adding SKUs to a collection group.](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/storefront/cms-portal-legacy/layout/adding-collections-cms_5.png)\n\nIn the **Find SKUs** field, you can type the ID of as many SKUs as needed, separating the values with a comma. For example: `2000004,2000009,2000005`.\n\nTo exclude a SKU from the list, click the red button beside it.\n\n> ℹ️ When the list contains more than 10 SKUs, pagination becomes available.\n\n### By spreadsheet\n\n> ℹ️ Download the [spreadsheet template](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/storefront/cms-portal-legacy/layout/Colecao.xls) to add or remove SKUs from the collection.\n\n#### Bulk inclusion\n\nIn the **Bulk Insert SKUs** field, you can upload a spreadsheet (`.xls` format) containing a list of SKUs to include in the group.\n\n![Bulk Insert SKUs field for importing a SKU spreadsheet.](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/storefront/cms-portal-legacy/layout/adding-collections-cms_6.png)\n\nIn the spreadsheet, all SKU IDs must be listed in the first column, with a header, as shown in the following figure:\n\n![Example spreadsheet with SKU IDs in the first column.](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/storefront/cms-portal-legacy/layout/adding-collections-cms_7.png)\n\nAfter selecting the desired spreadsheet, click `Import skus` to submit the information.\n\n![Button to import the SKU spreadsheet.](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/storefront/cms-portal-legacy/layout/adding-collections-cms_8.png)\n\n#### Bulk exclusion\n\nTo avoid removing SKUs one at a time, you can also use the spreadsheet import feature to remove them in bulk.\n\n![Excluding SKUs from a group via spreadsheet.](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/storefront/cms-portal-legacy/layout/adding-collections-cms_9.png)\n\nIn this case, the SKUs listed in the imported spreadsheet will be removed from the group. To do this, click `exclude skus` after the file is uploaded.\n\n> ⚠️ Inactive SKUs won't be excluded or included, even if they're listed in the spreadsheet.\n\n## Products by release date\n\n> ⚠️ In the **Other options** section, the **Pre-sales** and **Launches** options complement the product selection by categories, brands, or SKUs. This means these flags only work if you've already selected categories, brands, or SKUs in the same group.\n\nNote that you can only select one of the two options. If you want both scenarios covered, create two groups and configure each with the corresponding option.\n\n![Selecting the Pre-sales and Launches options in Other options.](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/storefront/cms-portal-legacy/layout/adding-collections-cms_10.png)\n\n### Pre-sales\n\nTo create a collection of products that haven't been launched in your store yet, select the **Pre-sales** option. The system will consider all products with a release date after the current date, as defined in the **Release date** field when adding a product.\n\n### Launches\n\nThe **Launches** option allows you to create a collection of recently launched products. When you select this option, the system will consider all products released within the 30-day range prior to the current date. The release date considered is also the one defined in the **Release date** field in the product registration.\n\n> ℹ️ To learn how to delete a product collection, go to the article [How to delete a collection](/en/docs/tutorials/how-to-delete-a-collection)."}