{"section":"tutorials","requestedLocale":"en","requestedSlug":"adding-sku-specifications-or-fields","locale":"en","slug":"adding-sku-specifications-or-fields","path":"docs/en/tutorials/catalog/products-and-skus/adding-sku-specifications-or-fields.md","branch":"main","content":"An SKU specification is a mandatory field in the SKU form where you can insert specific characteristics for every product variation.\n\nAt VTEX, a specification is always included in a [specification group](/en/docs/tutorials/creating-a-specification-group-in-a-category), associated with a [category](/en/docs/tracks/categories-concept-definition). Therefore, to create an SKU specification (field), you must first create at least one category and one specification group.\n\nExample: A fashion store which intends to sell a **Polo shirt** product in the S, M or L sizes. In the **T-shirts** category, the specification group can be named **Characteristics**. In this case, size is the characteristic which will distinguish one SKU from another. Therefore, the retailer must create an SKU field called **Size**, having **S**, **M** and **L** as value options.\n\nIn this article, we explain how the specification inheritance works for the added specifications and we describe how to create an SKU field, associate values to it and fill in specifications when adding an SKU in the VTEX Admin. Check out the following sections:\n\n* [SKU Specification inheritance](#sku-specification-inheritance)\n* [Step-by-step instructions in the VTEX Admin](#step-by-step-instructions-in-the-vtex-admin)\n    1. [Creating an SKU field](#creating-an-sku-field)\n        * [SKU Field types](#sku-field-types)\n    2. [Adding values to the SKU field](#adding-values-to-the-sku-field)\n        * [Accessing or editing values](#accessing-or-editing-values)\n    3. [Filling out SKU specifications](#filling-out-sku-specifications)\n        * [SKU Registration](#sku-registration)\n        * [Spreadsheet](#spreadsheet)\n\n> ℹ️ To create an SKU specification using **Catalog API**, follow the [How to create a specification](https://developers.vtex.com/vtex-developer-docs/docs/how-to-create-a-specification) developer's guide.\n\n## SKU Specification inheritance\n\nBefore creating any specifications, it's important to understand that they follow an \"inheritance\" logic, i.e. when you create a specification for a higher category level, it will appear in all the sublevels of that category. Therefore, if you want to create an SKU specification applicable to the existing SKUs of one category only, the specification must be created at that category level.\n\nExample: consider a **Men's shirt** product. In __Catalog > Products and SKUs > SKU > Specifications__, as illustrated in the page below, we can see that the specification group called **Characteristics** is associated with the Shirt category. This group includes a field named **Color** and a field named **Size**.\n\n![heranca-especificacoes-sku-en](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/catalog/products-and-skus/adding-sku-specifications-or-fields_1.PNG)\n\nSince this is an SKU specification, the information selected on that page will apply only to the **Men's Shirt** product variations. All SKUs added to the **Men's Shirt** category and all product SKUs of the same category must also have these specifications filled out.\n\n## Step-by-step instructions in the VTEX Admin\n\nTo see the SKU specifications in the SKU registration page, besides having previously created a [specification group](/en/docs/tutorials/creating-a-specification-group-in-a-category) associated with a [category](/en/docs/tracks/categories-concept-definition), you must also create the SKU fields and fill in their values. Then, you will be able to fill in the SKU specifications.\n\nSee the step-by-step instructions below.\n\n### Creating an SKU field\n\n> ⚠️ Once created, the SKU fields cannot be deleted. If you uncheck the field, all the SKUs in that category will become inactive, until the field is checked again. If you do not fill out a specification when adding an SKU, it may cause the SKU not to appear on the website, because it is inactive.\n\nTo create an SKU field, follow the instructions below:\n\n1. In the VTEX Admin, go to __Catalog__, or type __Catalog__ in the search bar at the top of the page.\n2. Click on **Categories**.\n3. Click the category associated with the specification group in which you want to create the SKU field.\n\n  > ⚠️ Please note that when you create a specification for a higher category level, it will appear in all the sublevels of that category.\n\n4. Click `Actions` <i class=\"fas fa-angle-down\"></i>.\n5. Click `Field (SKU)`.\n6. Click `New field`.\n7. Fill in the information related to the field you are creating:\n\n    > ℹ️ It is mandatory to fill in the fields marked with an asterisk ( * ). The settings regarding which fields are required or not cannot be changed.\n\n    * **Name** *: Name of the SKU specification (field).\n    * **Text** *: Field description.\n    * **Type**: Field type, which may vary between **Combo **or **Radio**. For more information on each option, read the [Field types](#sku-field-types) section.\n    * **Group**: Name of the [specification group](/en/docs/tutorials/creating-a-specification-group-in-a-category), in which the field will be included.\n    * **Filter**: Defines if the specification will be used as a filter when navigating the** website.**\n    * **Required**: Defines if a value is mandatory when adding an SKU. In the field is mandatory, the SKU may only be activated after filling in this specification.\n    * **Show Specification**: Defines if the field is displayed on the SKU details page, in the **Specifications** tab.\n    * **Link in the top menu**: Defines if the link to the field values is displayed in the in the main menu of the site.\n    * **Link in the side menu**: Defines if the link to the field values is displayed in the side menu of the site.\n    * **Active**: Activates this field.\n8. Click `Save`.\n\n![sku-spec-1](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/catalog/products-and-skus/adding-sku-specifications-or-fields_2.gif)\n\n#### SKU Field types\n\nThere are two SKU field types — **Combo** and **Radio**. The purpose of SKU specifications is to distinguish between variations of the same product, based on objective and preset characteristics for selection, such as size or color, among others. To display text fields and more complex HTML structures, such as descriptions or size charts, you must use the [product fields](/en/docs/tutorials/adding-specifications-or-product-fields) feature.\n\nSee the table below for details on the SKU field types you can select in the **Type** option when [creating an SKU field](#creating-an-sku-field):\n\n<table class=\"w-100 center mv7 bb b--gray\">\n<thead class=\"w-100 center mv7 bb b--gray\">\n  <tr class=\"t-body fw5 c-muted-1 bb bw1 pa2 pb3 b--muted-3 tl\">\n    <th class=\"t-body fw5 c-muted-1 bb bw1 pa2 pb3 b--muted-3 tl\">Field type</th>\n    <th class=\"t-body fw5 c-muted-1 bb bw1 pa2 pb3 b--muted-3 tl\">Description</th>\n  </tr>\n</thead>\n<tbody>\n  <tr class=\"bb b--muted-3\">\n    <td class=\"t-body pa5\">**Combo**</td>\n    <td class=\"t-body pa5\">Content with two or more predefined values, to select an option from a dropdown list. For example, a home appliance voltage, which can be 110v or 220v.</td>\n  </tr>\n  <tr class=\"bb b--muted-3\">\n    <td class=\"t-body pa5\">**Radio**</td>\n    <td class=\"t-body pa5\">Content with two or more predefined values, to check an option from a value grid. For example, choosing the colors of a product's components (red, yellow, blue, black...).</td>\n  </tr>\n</tbody>\n</table>\n\n### Adding values to the SKU field\n\nThe **Values** of the SKU fields will vary according to the selected field type: **Combo** or **Radio**. Follow the steps below to add predefined values:\n\n1. In the VTEX Admin, go to __Catalog__, or type __Catalog__ in the search bar at the top of the page.\n2. Click on **Categories**.\n3. Click the category in which the product has been saved.\n4. Click `Actions` <i class=\"fas fa-angle-down\"></i>.\n5. Click `Field (SKU)`.\n6. Click the down arrow <i class=\"fas fa-angle-down\"></i>.\n7. Click **Values**.\n\n    On this page you can create a **New value** or **Edit** the previously defined values.\n\n7. Fill in the **Name** field with the values you wish to create for that field.\n\n    Insert one value per row and press `Enter` after each value, as illustrated in the image below.\n\n    ![valores-campo-sku-en](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/catalog/products-and-skus/adding-sku-specifications-or-fields_3.PNG)\n\n8. Click `Save`.\n\n    The added values will be displayed in the [SKU registration interface](#sku-registration).\n\n![sku-spec-2](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/catalog/products-and-skus/adding-sku-specifications-or-fields_4.gif)\n\n> ℹ️ If you are adding values for the first time in a field, you must return to the form of that specific field and check the **Active** option.\n\n#### Accessing or editing values\n\nTo access or edit values in an SKU field, follow the steps below:\n\n1. In the VTEX Admin, go to __Catalog__, or type __Catalog__ in the search bar at the top of the page.\n2. Click on **Categories**.\n3. Click the category in which the SKU has been saved.\n4. Click Actions <i class=\"fas fa-angle-down\"></i>.\n5. Click **Field (SKU)**.\n6. Click the down arrow <i class=\"fas fa-angle-down\"></i>.\n7. Click **Values**.\n\n    On this page you will see the values filled in and you can choose between the following options:\n       * **Order Alphabetically:** Organizes the value list alphabetically.\n       * **New value**: Creates a new value.\n       * **Edit**: Allows changing the value text and opting for activating or deactivating it.\n       * <i class=\"fas fa-angle-down\"></i> > **Delete**: Deletes a value.\n\n### Filling out SKU specifications\n\nAfter creating an SKU field and adding the values, you must fill in each SKU's specifications, using the fields and values you created. You can do this either on each individual [SKU registration page](#sku-registration) or in bulk, using a [spreadsheet](#spreadsheet).\n\n#### SKU registration\n\nTo fill in the specifications for each SKU individually, follow the instructions below:\n\n1. In the VTEX Admin, go to __Catalog__, or type __Catalog__ in the search bar at the top of the page.\n2. Access **All products**.\n3. On the product row with the desired SKU, click the down arrow <i class=\"fas fa-angle-down\"></i>.\n4. Click **SKU**.\n5. On the desired SKU, click `Change`.\n6. Access the **Specifications** tab.\n7. Fill in the [fields you created](#creating-an-sku-field) with the desired [values](#adding-values-to-the-sku-field).\n\n    Required fields will be marked with `*`.\n\n8. Click `Save`.\n\n![sku-spec-3](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/catalog/products-and-skus/adding-sku-specifications-or-fields_5.gif)\n\n#### Spreadsheet\n\nTo fill in SKU specifications in bulk using a spreadsheet, first you must export the VTEX default spreadsheet, populate it and import it to the platform. To do this, please follow the instructions below:\n\n1. In the VTEX Admin, go to __Catalog__, or type __Catalog__ in the search bar at the top of the page.\n2. Click **Import and Export**.\n3. Click the **SKU Specifications** tab.\n4. Right-click on the desired category.\n5. Click **Export...**.\n\n    A green rectangle will appear on screen.\n\n6. Click on **Click here to download your file** to export the spreadsheet.\n7. Open the spreadsheet file and fill out the rows with the SKU specification data.\n\n    Only edit the `SpecificationValue` spreadsheet column, inserting a value in each row field. The other columns must not be changed because their values will be used for data validation.\n\n8. In the VTEX Admin, still in **Catalog** > **Import and export** > **SKU Specifications**, scroll down to **Upload File to Import**.\n9. Click **Select** to select the file with the filled out spreadsheet from your computer.\n10. Click `Import`.\n\n![sku-spec-4](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/catalog/products-and-skus/adding-sku-specifications-or-fields_6.gif)\n\n## Learn more\n- [Adding product specifications or fields](/en/docs/tutorials/adding-specifications-or-product-fields)\n- [Product and SKU Specifications](/en/docs/tracks/specifications-concept-definition)"}