Manage Attributes In Magento 2

In the previous article, I have briefly introduced some basic functions for beginners. If you have not read that article, you can read it: Magento 2 Tutorial For Beginners – Basic Guide. Following the previous article, I will help you learn about Manage Attributes In Magento 2.

In this article, I will talk about: How to create and manage attributes and How to create and manage attribute sets.

What is Attribute?

Attribute is an attribute of a product, it states the characteristics of the product such as product code, product name, color, manufacturer, etc. Magento allows creating attributes to attach and linking products with the same attributes together.

How to create and manage attributes

Step 1: Log in to Admin Panel > STORES > Product in Attributes.

Manage Attributes

Step 2: Select Add New Attribute and fill in the attribute information

Attribute Code: The attribute code name, this name will not be duplicated.

Scope: Select attribute to be applied to store view, website or global level

Catalog Input Type for Store Owner: The data type of attribute.

Ex: Color and Size will show as:

Show color and size

Depending on the type of attribute, select the appropriate display type:

Values Required: Required attribute or not.

Input Validation for Store Owner: Validation of the attribute’s input.

Used in Product Listing: Shows whether to use the product list page or not.

Step 3: Enter the label for Attribute in Manage Labels.

Manage Label

Next fill in Manage Titles (such as color, size, material, … depending on the attributes of each product and this name will appear outside the Website)

Manage Label Tittles
Manage Options Value of your Attribute

Then, select the Add Option button and enter all the parameters as desired.

Step 4: Select the Save Attributes button.

Once you have created Attribute, you need to create Attribute Set and drag and drop this newly created Attribute (if you do not want to be included in the default Attribute Set).

How to create and manage attribute sets

Step 1: Log in to Admin Panel > STORES > Attribute Set in Attributes

Manage Attribute Sets

After creating the desired properties, users can group attributes together.

Step 2: Select “Add New Set” to add 1 attribute to the Add New Set button.

Step 3: Enter a name for the attribute sets.

Edit Attribute Set Name

Step 4: Drag and drop the created attributes to the Groups column. You can change the order of these attributes with drag and drop.

Edit Attribute Set

Select the Save Attribute Set button.

Step 5: Drag and drop the created attributes to the Groups column. You can change the order of these attributes with drag and drop.

Newly Attribute Set

When adding a new product, on the first step when selecting the Add Product button, select Attributes Set as “Coat”.

Add New Product

The “color” attribute will display the request for selection.

Color Attribute in New Product

And you still create the product as usual.

It comes to the end of the article: Manage Attributes In Magento 2.

I hope you can successfully implement it yourself.

Follow us for more helpful tutorials!

We hope this is useful blog for you.

Thank you for reading!

0 0 votes
Article Rating

Adam Roger

CEO and Founder of Magetop. A friend, a husband and a dad of two children. Adam loves to travel to experience new cultures and discover what is happening with ecommerce all around the world.

Leave a Reply or put your Question here

1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Chris Henry
Chris Henry
March 28, 2020 10:25 am

Thank you for this great tutorial.

Well, during my research I have another useful guide which has also shown the method to create custom attributes. I am sharing it here so that it help others too: https://www.cloudways.com/blog/configuring-product-attribute-sets-in-magento/

1
0
Would love your thoughts, please comment.x
()
x