8

I want to have default attribute value as None but whenever I create an attribute, it's first option value is set as default. Please check attached image. How I can configure it so that it's default value will be None instead of first entered option.

enter image description here

Whereas in Magento 1, I was not forced to have a default option selected as depicted in the picture below.

enter image description here

1

you can add empty additional option, put that as default. after that you can delete that option.

| improve this answer | |
1

Use browser console and remove checked property and/or as @vijay suggests, add a new, additional empty option and remove it

| improve this answer | |
  • This does work, but every time a new attribute is added, the process must be repeated. – dawhoo Oct 25 '18 at 17:27
0

You can't do it in base Magento installation.

| improve this answer | |
  • There must be a solution to it otherwise we must assign a value to this attribute for all products if this attribute is assigned to attribute set using which we will create a new product. In this case it looks like a bug to me. – amitshree Feb 24 '16 at 12:09
  • Default value used only when user edit product. If you add attribute or change default value this do not apply to existing products – KAndy Feb 24 '16 at 16:02
  • Sorry I'm missing something here. It's not an required attribute. It should not force me to have a default selected option. In Magento 1 I was not forced to have a default option selected. Please check updated question. – amitshree Feb 24 '16 at 16:28
-1

Make the first option 'None'. Despite setting 'Required' to 'No', it's still a generated drop-down, and therefore requires it's own value for 'None'.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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