{"section":"tutorials","requestedLocale":"en","requestedSlug":"adding-collections-cms","locale":"en","slug":"adding-collections-cms","path":"docs/en/tutorials/storefront/layout/adding-collections-cms.md","branch":"main","content":"> ⚠️ There are two ways to configure collections: through the Legacy CMS Portal or the [Collections Beta](/en/docs/tutorials/creating-collections-beta) module. This article is about how to configure collections through the Legacy CMS Portal.\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 on __Product Clusters (Collections)__.\n3. Click on __New Collection__.\n4. Fill out the Collection form fields. For more on the meaning of each one of these fields, read our article on [how to fill out new collection fields](/en/docs/tutorials/filling-out-collection-registration-fields).\n5. Click on __Save Product Cluster__.\n\n> ⚠️ When the number of created collections surpasses twenty, those exceeding that number can be found through the search field on the admin interface. Search by the name of the collection you want to find.\n\nChoosing the products that will make up a collection is done by clicking on __New Group__ in the desired collection, creating a __group__.\n\n![new-group-collection en](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/storefront/layout/adding-collections-cms_1.png)\n\nBefore choosing which products to add to a group, you will need to give it a name and specify which type the created group falls under.\n\n## Group Types\n\nThere are only two possible values for a group type: __Inclusive__ or __Exclusive__.  An inclusive group includes its products in the collection to which it is linked. Meanwhile, an Exclusive group does the opposite, removing its products from a collection.\n\nFor example, we have a collection called _Cellphones_, comprising two groups: group `A` is an *Inclusive* type while `B` is an *Exclusive* type. The products belonging to this collection will be the result of group A products *minus* group B products.\n\nThis logic is used for any number of groups created within the same collection. *Exclusive* group products will always be subtracted from any *Inclusive* type groups, as follows:\n\n`Products comprising a collection = (A+B) - (C+D)`\n\nOf which:\n\n- Groups A and B are type *Inclusive*\n- Groups C and D are type *Exclusive*\n\nTo this end, the first group that is created in any collection must necessarily be type *Inclusive*.\n\n> ⚠️ Be mindful of the set group type. When adding products to an *Exclusive* group type, for example, these **will not** be added to a collection due to the nature of the group.\n\n## Selecting Products\n\nIn a group, you can select a product based on the following:\n\n- Department, Category or Subcategory\n- Brand\n- SKU\n- Launch Date\n\nYou can select more than one of the options above to achieve a specific scenario. In such cases, __only products falling within the intersection of both options will be included in the group__.\n\nFor example: When selecting a category `A` and a brand `B`, only products pertaining simultaneously to this category and brand will be included in the group. Category `A` products pertaining to brands other than `B` will not be part of the collection. The same applies for brand `B` products of other categories.  \n\n## Products by Department, Category or Subcategory\n\nTo add the products of a specific department to a group, select the desired department and click on __Save Group__, as shown in the image below.\n\n![seleção-departamento EN](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/storefront/layout/adding-collections-cms_2.png)\n\nThe same applies for products of a specific Category or Subcategory.\n\n![seleção-categoria-subcategoria EN](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/storefront/layout/adding-collections-cms_3.png)\n\n## Product by Brand\n\nTo create a group containing products from one or more brands, select the desired brand from the corresponding list.\n\n![seleção-marca-coleção en](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/storefront/layout/adding-collections-cms_4.png)\n\nBrands are displayed in alphabetical order. When clicking on the first letter corresponding to the desired brand, the list expands and displays the existing brands.\n\n## Products by SKU\n\n### Manually\n\nWhen adding a SKU to a group, the product to which it is linked is also added. If the product is linked to more than one SKU, adding one SKU would also add all other SKUs to the group.\n\n![selecao-sku-manual en & es](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/storefront/layout/adding-collections-cms_5.png)\n\nIn the __find SKUs__ field, you can type in as many SKU IDs as needed, separating each one by a comma. \n\n> Ex.: 200004,200009,200005\n\nTo remove an SKU from the list, click on the red button next to it.\n\n> ℹ️ When the number of listed SKUs surpasses ten, a page control becomes available.\n\n### By spreadsheet\n\n > ℹ️ Get the file template for adding SKUs to or removing them from a collection [here](https://cdn.statically.io/gh/vtexdocs/help-center-content/files-migration-script/docs/en/tutorials/storefront/layout/Colecao.xls).\n\n#### Bulk Upload\n\nYou can __Bulk insert SKUs__ by importing an `.xls` format spreadsheet to list SKUs that will be part of a group.\n\n![selecao-sku-planilha-insert en & es](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/storefront/layout/adding-collections-cms_6.png)\n\nIn the imported spreadsheet, all SKU IDs must be listed in the first column, with a header, as shown in the example below:\n\n![exemplo-planilha-seleção-sku-coleção](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/storefront/layout/adding-collections-cms_7.png) \n\nAfter selecting the desired spreadsheet, click on the __Import SKUs__ option to sent the information.\n\n![Import SKUs](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/storefront/layout/adding-collections-cms_8.png)\n\n#### Bulk remove\n\nTo avoid having to remove SKUs one at a time, you can use the import function of a spreadsheet to bulk remove them.\n\n![exclusao-skus-manualmente-planilha-coleção-cms en & es](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/storefront/layout/adding-collections-cms_9.png)\n\nIn this specific case, the SKUs listed in the imported spreadsheet will be excluded from the group. Do this by clicking on __remove SKUs__ after the file has been loaded. \n\n> ⚠️ Disabled SKUs will not be removed or added, even if they appear as listed in the spreadsheet.\n\n## Products by Market Launch date\n\n> ⚠️ In the **Other options** section, the **Pre-sales** and **Launches** options are add-ons to choosing products by Category, Brand or SKU, meaning that these flags will only work if you have previously selected them.\n\nNote that you can only select one of the two options. Should you want both add-ons, create two groups and configure each one with the respective option.\n\n![other-options-cms-coleções EN](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/storefront/layout/adding-collections-cms_10.png)\n\n### Pre-sales\n\nIn order to create a product collection that has not been launched yet, select the __Pre-sales__ option. The system considers the launch date of all products to be one day after the present date, according to the _Market launch date_ field in the product file.\n\n### Launches\n\nThe __Launches__ option allows you to create a recently launched product collection. Upon selecting this option, the system considers all of the products that were launched within a 30-day interval prior to the present date. The launch date taken into account is also the same one set in the _Market launch date_ in the product file.\n\n> ℹ️ To know more about how to exclude a product collection, read our article on [how to delete collections](/en/docs/tutorials/how-to-delete-a-collection)."}