search_box

Create A New Attribute

The vendors can use the Magento 2 Manage Attribute feature to add a new attribute.

To create a new attribute

  1. Go to the Vendor Panel.
  2. On the left navigation bar, click the Product Attributes menu.
    The menu appears as shown in the following figure:
    ProductAttributes
  3. Click Manage Attribute.
    The Vendor Product Attribute page appears as shown in the following figure:
    VendorProductAttributePage
    All the created vendor product attributes are listed on the page.
  4. Click the Add New Attribute page.
    The page appears as shown in the following figure:
    NewProductAttribute
  5. In the right panel, under Attribute Properties, do the following steps:
    1. In the Default Label box, enter the default label.
    2. In the Catalog Input Type for Store Owner list, select the required input type.
    3. In the Values Required list, select the required option.
      If selected Yes, then the value of the attribute is compulsory, that is, the attribute cannot be left empty.
    4. In the Include in Attribute Set list, select the required list of Attribute Set to which the attribute needs to be assigned.
    5. In the Sort Order box, enter the required value to set the order of the attribute.
  6. Scroll down to the Advanced Attribute Properties tab, and then click the tab.
    The tab is expanded and the relevant fields appear as shown in the following figure:
    NewProductAttribute_AdvancedAttributeProperties
  7. Under Advanced Attribute Properties, do the following steps:
    1. In the Attribute Code box, enter the unique attribute code.
    2. In the Scope list, select the scope value of the product attribute.
    3. In the Default Value box, enter the default value of the attribute.
    4. In the Unique Value list, select Yes to enable the users to enter the unique values for the product attributes. Otherwise, select No.
    5. In the Input Validation for Store Owner list, select the required value.
      The users have to provide the attribute value in the selected format.
    6. In the Add to Column Options list, select Yes to add this attribute to the list of column options in the product grid.
    7. In the Use in Filter Options list, select Yes to add this attribute to the list of filter options in the product grid.
  8. In the left navigation panel, click the Manage Labels menu.
    The page in the right panel appears as shown in the following figure:
    ManageTitles
  9. Under Manage Titles, do the following step:
    • Enter the Titles or Labels of the attribute in the respective according to the store view.
  10. In the left navigation panel, click the Storefront Properties menu.
    The page in the right panel appears as shown in the following figure:
    StorefrontProperties
  11. Under Storefront Properties, do the following steps:
    1. In the Use in Search list, select Yes to use the product attribute in quick search.
      Otherwise, select No.
    2. In the Comparable on Storefront list, select Yes to use the product attribute to compare the products in the front-end view.
      Otherwise, select No.
    3. In the Use for Promo Rule Conditions list, select Yes to use the product attribute for the promo rule conditions.
      Otherwise, select No.
    4. In the Allow HTML Tags on Storefront list, select Yes to display the HTML tags in the front-end view.
      Otherwise, select No.
    5. In the Visible on Catalog Pages on Storefront list, select Yes to display the product attribute on the product view page available on the front-end view.
      Otherwise, select No.
    6. In the Used in Product Listing list, select Yes to display the product attribute on the product listing page.
      Otherwise, select No.
    7. In the Used for Sorting in Product Listing list, select Yes to enable the use of the product attribute in the product sorting feature.
      Otherwise, select No.
  12. Click the Save Attribute button.
    The product attribute is saved and listed on the Vendor Product Attribute page. A success message appears on the page.
Yes No Suggest edit
Suggest Edit