Rating 5 stars - 1 votes

How to Create Magento 2 Custom Attributes And Add Them to Sets?

By filling your Magento 2 with attributes you allow your customers search and choose products closely corresponding to their needs. This is essential if you plan selling configurable products.

In Magento 2, there are system attributes that are created by default such as product name, SKU, description, price etc. Though you can add custom attributes defining such product properties as color, size, weight etc.

How to Create Custom Product Attribute in Magento 2?

  1. From Magento 2 dashboard go to Stores => Attributes => Product.
  2. Press 'Add new attribute' button.

  3. How to Create Magento 2 Custom Attributes And Add Them to Sets?
    How to Create Magento 2 Custom Attributes And Add Them to Sets?

  4. Fill Attribute properties: Default label, Catalog input type and Values Required.

  5. How to Create Magento 2 Custom Attributes And Add Them to Sets?
    How to Create Magento 2 Custom Attributes And Add Them to Sets?

    In case you choose Multiple Select input type, you have to add values of the attribute by pressing 'Add option' button.


    How to Create Magento 2 Custom Attributes And Add Them to Sets?
    How to Create Magento 2 Custom Attributes And Add Them to Sets?

    If you have a few store views in different languages, enter the translations of each value into the corresponding fields.

  6. In the Advanced Properties section you can configure the following attribute settings:

  7. How to Create Magento 2 Custom Attributes And Add Them to Sets?
    How to Create Magento 2 Custom Attributes And Add Them to Sets?

    Attribute code - the code of attribute that will be used by the system

    Scope - specify the saving scope of the attribute

    Unique Value - it is recommended to set it to 'Yes' in order to prevent duplicate values

    Add to Column options - by setting it to 'Yes' you add the attribute to the list of column options in the product grid

    Use in Filter options - by setting to Yes you add the attribute to product filters that can be used during product search by customers


  8. In the Manage Labels tab enter the title to be used as label for the field.

  9. How to Create Magento 2 Custom Attributes And Add Them to Sets?
    How to Create Magento 2 Custom Attributes And Add Them to Sets?

  10. Proceed to Storefront Properties and configure them.

  11. How to Create Magento 2 Custom Attributes And Add Them to Sets?
    How to Create Magento 2 Custom Attributes And Add Them to Sets?

  12. To add the attribute, tap 'Save attribute' in the right upper corner.

  13. How to Create Magento 2 Custom Attributes And Add Them to Sets?
    How to Create Magento 2 Custom Attributes And Add Them to Sets?


Add Magento Attributes via Store Manager


The application allows managing attributes, as well as attribute groups and attribute sets within one window.

Let's figure out how Magento 2 attribute management looks like when using Store Manager.

  1. From Store tab open Attributes section.

  2. How to Create Magento 2 Custom Attributes And Add Them to Sets?
    How to Create Magento 2 Custom Attributes And Add Them to Sets?

    There will appear window divided into three parts, namely Attribute Sets, Attribute Groups and Unassigned Attributes.


    How to Create Magento 2 Custom Attributes And Add Them to Sets?
    How to Create Magento 2 Custom Attributes And Add Them to Sets?

  3. In order to add a new attribute, press 'Add New Attribute; button in the Unassigned Attributes pan.

  4. How to Create Magento 2 Custom Attributes And Add Them to Sets?
    How to Create Magento 2 Custom Attributes And Add Them to Sets?

  5. Configure the attribute settings in the Edit Attribute Data window containing three tabs (they are identical to Magento 2 admin attribute settings).

  6. How to Create Magento 2 Custom Attributes And Add Them to Sets?
    How to Create Magento 2 Custom Attributes And Add Them to Sets?

It is possible to add the newly created attributes to attribute groups in the same window. You just need to drag them to the necessary group.


How to Create Magento 2 Custom Attributes And Add Them to Sets?
How to Create Magento 2 Custom Attributes And Add Them to Sets?

Also you can manage attribute sets here too by adding new ones or editing/deleting the existing ones. Use the buttons on Attribute Sets toolbar in order to add or delete attribute groups within set.


How to Create Magento 2 Custom Attributes And Add Them to Sets?
How to Create Magento 2 Custom Attributes And Add Them to Sets?

The apt possibility to handle attributes, attribute groups and attribute sets within one window can fasten the process of attribute management in a huge way. You can generate/ edit or delete Magento attributes as well as attribute groups and attribute sets at one place and save plenty of time.


Try out advanced Magento 2 attributes management possibilities for 14 days FREE - Try now




Related Articles:


Card image

Manage Magento 2 Attribute Sets in Advanced Way

Assigning attributes to products can become faster if you unite attributes by relation to certain type of merchandise. Read More...

Card image

Change Order of Attribute Dropdowns in Magento 2

The positions of attribute values dropdowns can be rearranged in your store backend as it is outlined in the tutorial. Read More...

Card image

How to Add Swatch Images in Magento 2

Instructions on how to set up Magento 2 swatch images to use them instead of ordinary drop-downs. Read More...

Card image

What Are Magento Super Attributes and How to Add Them

Find out what Magento attributes and configurable and learn how to manage price diffirentiation of product variants using super attributes. Read More...



COMMENTS
Be the first to comment.