Create product attributes
Edit on GitHubThis doc describes how to create product attributes in the Back Office.
A new product usually needs a super attribute and a regular attribute. The super attribute is used to distinguish product variants and the regular attribute is used to define product characteristics.
Prerequisites
Review the reference information before you start, or look up the necessary information as you go through the process.
Create a product attribute
- Go to Catalog > Attributes.
- On the Attributes page, click Create Product Attribute.
- On the Create a Product Attribute page, enter an ATTRIBUTE KEY.
- Select an INPUT TYPE.
- Optional: To make this attribute a supper attribute, select the SUPER ATTRIBUTE checkbox. This disables the ALLOW INPUT ANY VALUE OTHER THAN PREDEFINED ONES checkbox because a super attribute can have only predefined values.
- In the PREDEFINED VALUES field, enter a predefined value and press
Enter
. - Repeat the previous step until you add all the needed predefined values.
- Optional: To allow adding the values that are different from the predefined ones, select ALLOW INPUT ANY VALUE OTHER THAN PREDEFINED ONES.
- Select Save. This opens the 2. Translations tab.
- In the 2. Translations tab, enter a TRANSLATION for each locale.
- Optional: To localize predefined parameter values, do the following:
- Select TRANSLATE PREDEFINED VALUES.
- Enter a Translation for the predefined parameter values for all the locales.
- Click Save. This opens the View Product Attribute page with a success message displayed. Now you can use this attribute for creating abstract products.
Tips and tricks
To apply a translation to all the other locales, select Copy to other languages next to the TRANSLATION you want to apply.
Reference information: Create product attributes
ATTRIBUTE | DESCRIPTION |
---|---|
ATTRIBUTE KEY | Name that you will use when assigning the attribute to products. For example, color . Accepts lower case letters, digits, numbers, underscores, hyphens, and colons. |
INPUT TYPE | Defines the data format of the attribute’s values. |
SUPER ATTRIBUTE | Defines if the attribute is to be a super attribute. Super attributes distinguish product variants of an abstract product. |
PREDEFINED VALUES | Values that you will be selecting from when assigning the attribute to products. For example, if the attribute is color , the values can be red , green , black , etc. |
ALLOW INPUT ANY VALUE OTHER THAN PREDEFINED ONES | Defines if, when creating or updating products, you can enter custom values that are not defined in PREDEFINED VALUES. |
TRANSLATION | Translations for attribute keys and values per locale. These translations will be displayed on the Storefront. |
TRANSLATE PREDEFINED VALUES | Defines if predefined values are to be translated. |
Next steps
- Assign the attribute to a new abstract product. For instructions, see Create abstract products and product bundles.
- Assign the attribute to an existing abstract product. For instructions, see Assign product attributes to abstract products
Thank you!
For submitting the form