How to Create Product Attribute Set in Magento 2?

As you already know, Magento 2 is a feature-rich eCommerce platform with various tools for creating a successful store. One of its important features is that it has a well-developed system of attributes and attribute sets.

They allow you to organize your products easily and create a user-friendly catalogue. That said, if you've already created product attributes, you need to assign them to attribute sets.    

But let's take one step at a time. In this guide, you'll learn everything you need to know about Magento attribute sets and how to manage them in your store.

What is an Attribute Set in Magento 2?

Magento 2 attribute set is a collection of attributes that apply to certain kind of products. You use attribute sets when creating products in your store so that you don't need to assign every attribute one by one. 

e.g. the Magento 2 attribute set Top can have color, size, material, and weather attributes; the Magento 2 attribute set Bag can have color, weight, and material, etc.

This simplified the product creation, since you apply an attribute set to a certain product and fill out the attribute options.

There is no limit to the number of attribute sets you can have in Magento. So, you can create as many of them as you need and adjust them in the way that suits your strategy. 

How to Create Magento 2 Attribute Set?

To create a product attribute set in Magento 2 :

1. Navigate to Stores > Attributes > Attribute Set and press the Add Attribute Set button.

2. Insert the Name of the attribute set.

3. Choose an already existing attribute set that the new one will be Based On.

Magento 2 add new product attribute set

Don't forget to Save the attribute set and move to the editing step.

(16)

Magento 2 Extended Product Grid is the extension that allows you to enable an enhanced product grid and save time managing product attribute values using the product grid inline editor and product mass actions...

$199
one-time payment
Buy Now Live Demo

How to Edit Product Attribute Set in Magento 2?

Once you create a new Magento attribute set, you will see the attribute set edit page. Here you can edit the Attribute Set Name, the attribute Groups, and Unassigned Attributes.

To add an attribute to the attribute set you just need to drag and drop it into a corresponding group.

Magento 2 drag and drop attributes

Besides, you can also create and delete any group right on the editing page by using the Add New and Delete Selected Group buttons. Once you have finished don't forget to press the Save button.

How to Change Attribute Set in Bulk?

Once you assign an attribute set to a product you won't be able to change it since there is no option for that in default Magento. 

So, if you need to update product attributes, change attribute set in bulk and manage your products more effectively you need Magento 2 Extended Product Grid extension.

To change the attribute set in bulk, you'll just need to tick some products in the grid. Then choose a corresponding option from the mass actions. 

Change Attribute Set Massively in Magento 2

Now you know how to create an attribute set in Magento and manage it accordingly. However, if you like a more technical approach, you can create Magento attribute set programmatically.