I use Magento 2.2.6 with a theme on shared hosting. This query is about how to create Product attribute?

When I started exploring and creating a test configurable product, I found Color attribute by default in Default Attribute set. Color attribute is available only when we click on create configuration button during new product creation.

I created Volume attribute with 3 values and Potency with 7 values. I face following issue.

1- Both the values are visible when creating normal products and gets assigned when it is not required. Adding unnecessary values to products.

2- Why My attributes are visible in normal configuration but color is only available when we click on create configuration.

3- Do I need to create a separate attribute set with required attributes?

enter image description here enter image description here enter image description here

1 Answer 1


You have to remove it from Admin Panel, Go to Stores->Attribute set and Move your attribute pull out from the left side list to unassigned attributes.

  • I have tried this earlier. I get following error. Attribute 'potency' is locked. This attribute is used in configurable products. Commented Feb 25, 2019 at 11:38
  • there no way to hide that attribute only for simple products, you have to delete that attribute and recreate it with type "filterable with results" and don't assign to the default attribute set.
    – aravind
    Commented Feb 25, 2019 at 11:41
  • When we create and assign any attribute to a configurable product, at the time of save it asks to assign to available attribute set. cant avoid that. Commented Feb 25, 2019 at 11:59
  • Then you have do it using code, magento.stackexchange.com/questions/182710/…
    – aravind
    Commented Feb 25, 2019 at 12:36
  • can you please tell me how to remove default value selection radio. 250ml and 1000ch are default value. If i uncheck the radio, issue will be resolved. Commented Mar 3, 2019 at 8:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.