{"section":"tutorials","requestedLocale":"en","requestedSlug":"adding-specifications-or-product-fields","locale":"en","slug":"adding-specifications-or-product-fields","path":"docs/en/tutorials/catalog/products-and-skus/adding-specifications-or-product-fields.md","branch":"main","content":"When adding a product, you can use the [specification](/en/docs/tracks/specifications-concept-definition) field to include characteristics applicable to all its variations (SKUs).\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 a product specification (field), you must first create at least one category and one specification group.\n\nExample: Consider a fashion store. In the **T-shirts** category, the specification group can be named **Characteristics** and include the **Fabric** field and its values, **Cotton **and **Polyester**.\n\nIn this article, we explain how the specification inheritance works for the added specifications, detail the process of adding product fields and show how to fill in product specifications. Check out the following sections:\n\n* [Product specifications inheritance](#product-specifications-inheritance)\n* [Step-by-step instructions on VTEX Admin](#step-by-step-instructions-on-vtex-admin)\n    1. [Creating a product field](#creating-a-product-field)\n        * [Product field types](#product-field-types)\n    2. [Adding values to the product field](#adding-values-to-the-product-field)\n        * [Accessing or editing values](#accessing-or-editing-values)\n    3. [Filling in product specifications](#filling-in-product-specifications)\n        * [Product registration](#product-registration)\n        * [Spreadsheet](#spreadsheet)\n\n> ℹ️ To create a product 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## Product specifications inheritance\n\nBefore creating any specifications, it's important to understand that they follow a \"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 a product specification applicable to one category only, you must create it at that category level.\n\nConsider the **TV** product for example. In __Catalog > All products > Edit > Specifications__, as illustrated in the page below, we can see that the specification group called **Characteristics** is associated with the TV's category. This group includes a field named **Inches** and a field named **Age group**, which are mandatory.\n\n![specifications-en](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/catalog/products-and-skus/adding-specifications-or-product-fields_1.PNG)\n\nSince this is a product specification, the information selected on that page will apply to all **TV** product variations. All products added to the TV's category must have these specifications filled out, since they are required fields.\n\n## Step-by-step instructions on VTEX Admin\n\nTo see product specifications while creating or editing products, 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 fields and fill in their values. Next, you will be able to fill in your product specifications.\n\nSee the step-by-step instructions below.\n\n### Creating a product field\n\nTo create a product 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 associated with the specification group you want to create the field.\n\n    Please note that when you create a specification for a higher-level category, it will appear in all the sublevels of that category.\n\n3. Click `Actions` <i class=\"fas fa-angle-down\"></i>.\n4. Click `Field (Product)`.\n5. Click `New field`.\n6. Fill in the information related to the field you are creating:\n    * **Name**: Name of the product specification (field).\n    * **Text**: Field description.\n    * **Type**: Field type, which can vary between **Text**, **Large Text**, **Number**, **Combo**, **Radio**, **CheckBox**, **Indexed Text** and **Large Indexed Text**. For more information on each option, read the [Field types](#product-field-types) section.\n    * **Default Value**: Value already defined when creating the field.\n    * **Group**: Name of the previously created [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 a product. In the case of a required field, the product will be activated only after filling in this specification.\n    * **Show specification**: Defines if the field is displayed on the product details page in the **Specifications** tab.\n    * **Link in the Top Menu**: Defines if the link for the field values is displayed in the website's main menu.\n    * **Link in the Side Menu**: Defines if the link for the field values is displayed in the website side menu.\n    * **Active**: Inserts or removes this field when adding the product (**Specifications** tab).\n7. Click `Save`. \n\n![product-spec-1](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/catalog/products-and-skus/adding-specifications-or-product-fields_2.gif)\n\n#### Product field types\n\nSee the table below for details on the product field types you can select in the **Type** option:\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\">**Text**</td>\n    <td class=\"t-body pa5\">Content as free text, recommended for short texts and simple formatting. Not recommended for large HTML structures.</td>\n  </tr>\n  <tr class=\"bb b--muted-3\">\n    <td class=\"t-body pa5\">**Large Text**</td>\n    <td class=\"t-body pa5\">Content as free text, recommended for large HTML structures. For example, size charts, frequently used in the fashion segment.</td>\n  </tr>\n  <tr class=\"bb b--muted-3\">\n    <td class=\"t-body pa5\">**Number**</td>\n    <td class=\"t-body pa5\">Content with whole numbers only. For example, indicating shoe sizes (39, 41, 42...).</td>\n  </tr>\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 preset values selected out of 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 preset values checked as options from a value grid. For example, choosing the colors of product components (red, yellow, blue, black...).</td>\n  </tr>\n  <tr class=\"bb b--muted-3\">\n    <td class=\"t-body pa5\">**CheckBox**</td>\n    <td class=\"t-body pa5\">Option with values equivalent to <span class=\"t-body c-on-base pa2 mw6 br2 bg-muted-4\">true</span> (checked) or <span class=\"t-body c-on-base pa2 mw6 br2 bg-muted-4\">false</span> (unchecked). For example, a field named **Outlet** will be checked only when the product is part of the store selection for *outlet* (clearance sale). The field must remain unchecked if it's not part of the selection.</td>\n  </tr>\n  <tr class=\"bb b--muted-3\">\n    <td class=\"t-body pa5\">**Indexed Text<br /> <br />Large Indexed Text**</td>\n    <td class=\"t-body pa5\">Technically, these field types follow the same rule as the **Text** field, except for one difference: their values will be interpreted by the **Catalog **[indexer](/en/docs/tutorials/understanding-how-indexation-works) and will influence the search results for the store customers. For more details, please see the article [How VTEX search works?](/en/docs/tutorials/how-does-vtex-search-work).</td>\n  </tr>\n</tbody>\n</table>\n\n### Adding values to the product field\n\nThe product field values will vary according to the field type. For the **Text** and **Number** field types, no preset values are created — the values will be filled in individually in the **Specifications** tab, when adding the product.\n\nFor the **Combo**, **Radio** and **CheckBox** field types, you must add preset values for the selection when adding the product. 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 in which the product has been saved.\n4. Click __Actions__ <i class=\"fas fa-angle-down\"></i>.\n5. Click __Field (Product)__.\n6. Click the down arrow <i class=\"fas fa-angle-down\"></i>.\n7. Select **Values**.\n\n    If there are values already added, you must click `New value`.\n\n7. Fill in the **Name** field with the values you wish to create for that field. Enter one value per row and press `Enter` after each value.\n8. Click `Save`.\n\n    The created values will be displayed in the Product **Specifications** tab.\n\n![product-spec-2](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/catalog/products-and-skus/adding-specifications-or-product-fields_3.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 a product 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 product has been saved.\n4. Click __Actions__ <i class=\"fas fa-angle-down\"></i>.\n5. Click __Field__ (Product).\n6. Click the down arrow <i class=\"fas fa-angle-down\"></i>.\n7. Select **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**: Create 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**: Delete a value.\n\n### Filling in product specifications\n\nFinally, you need to fill in the specifications for each product, according to the fields and values you have created. You can do this individually via the [product registration](#product-registration) page or massively via [spreadsheet](#spreadsheet).\n\n#### Product Registration\n\nTo fill in the specifications for each product 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. Click on **All products**.\n3. In the product row, click `Edit`.\n4. Access the **Specifications** tab.\n5. Fill in the [fields you created](#creating-a-product-field) with the desired [values](#adding-values-to-the-product-field).\n\n    Required fields will be marked with `*`.\n\n6. Click `Save`.\n\n![product-spec-3](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/catalog/products-and-skus/adding-specifications-or-product-fields_4.gif)\n\n#### Spreadsheet\n\nTo fill in product specifications in bulk by spreadsheet, you need to export the template VTEX spreadsheet, populate it and import it into the platform. To do this, 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 **Product Specifications** tab.\n4. Right-click on the desired category.\n5. Click on **Export...**.\n\n    A green rectangle will appear on the screen.\n\n6. Click **Click here to download the file** to export the spreadsheet.\n7. Open the spreadsheet file and fill in the rows with the product specification data.\n\n    Change only the `SpecificationValue` column in the spreadsheet with the value for the field listed in each row. The other columns should remain unchanged because their values will be used to validate the data.\n\n8. In the VTEX Admin, still under **Catalog** > **Import and Export** > **Product Specifications**, scroll down the page to **Upload File for Import**.\n9. Click **Select** to select the file with the completed spreadsheet on your computer.\n10. Click `Import`.\n\n![product-spec-4](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/catalog/products-and-skus/adding-specifications-or-product-fields_5.gif)\n\n## Learn more\n- [Adding SKU specifications or fields](/en/docs/tutorials/adding-sku-specifications-or-fields)\n- [Product and SKU Specifications](/en/docs/tracks/specifications-concept-definition)"}