How to Add Product Attribute in Magento 2?

1. Go to Admin Panel Stores Attributes Product.

Magento 2 Product Attribute

Press the Add New Attribute button.

Mageneto 2 Product Attribute, Add New Attribute

3. Fill out the Attribute Properties section.

  • Enter a Default Label of an attribute. It will be displayed on the admin panel.
  • Choose a type of an attribute in the Catalog Input Type for Store Owner field. There are such available values here as: Text Field, Text Area, Date, Yes/No, Mutliple Select, Dropdown, Price, Media Image, Fixed Product Tax, Visual Swatch,Text Swatch.
  • Select yes in Values Required field in order to make the attribute required for products. In this case, you won’t be able to save the product with this attribute if you don’t set its value.

go to Admin Panel > Stores > Attributes > Attribute Set, choose the attribute you need, drag and drop it from the Unassigned Attributes to Groups.

Magento 2 Product Attribute, Attribute Set Name

Leave a comment

Your email address will not be published. Required fields are marked *