A group is defined by a set of specifications (fields) related to products or SKUs of a certain category.
At VTEX, a specification is always included in a specification group associated with a category. Therefore, to create a product specification or a SKU specification, you must first have at least one category and one specification group already created.
In this article, we explain how the specification inheritance works and how to create specification groups in the VTEX Admin. Check out the following sections:
To create a specification group using the Catalog API, follow the How to create a specification developer's guide.
Specification inheritance
When a group is created in a department or a category, it will be replicated in all the sublevels of that department or category, following a "inheritance" logic. Therefore, if you want to create a specification group applicable to one category only, you must create it at that category level.
Example: A fashion store has a Clothing category which includes a Characteristics specification group. This group may have, for example, a product field named Fabric, with values such as Cotton or Polyester and a SKU field named Size with possible values such as S, **M **or L.
In the same store from the example above, under the Clothing category, there is a Dresses subcategory which contains a different specification group: a product field named Occasion, with values such as Casual or Party. The products in this subcategory and their respective SKUs must have all the fields filled in.
Step-by-step instructions in the VTEX Admin
To create a specification group, follow the instructions below:
- In the VTEX Admin, access Catalog > Categories.
- Click the category in which you want to create the group.
- Click
Actions
. - Click Group.
- Click the
New Group
button. - Fill in the following information:
- Name: Name of the group, for internal use.
- Category: Name of the category in which you are creating the group. This field is already filled in by default, you must only confirm the name of the category.
- Click
Save
.
You can create as many fields as you consider necessary in the group. The created fields can be set as filters at all navigation levels in your store.