I have created dropdown attribute with values required 'No'. But in front end when I clicked 'add to cart' that dropdown shows error like 'this product is required'.

enter image description here

  • but your screenshot says values required YES, can you double check it? – Hitesh Oct 4 '18 at 11:04
  • @Hit's Ha, before I changed to yes, the value was NO. So in that time also it asking the same thing as field required. – Kevin Oct 4 '18 at 11:13
  • did you run php bin/magento cache:clean && php bin/magento cache:flush command after your changes? – Hitesh Oct 4 '18 at 11:15
  • @Hit's yes i have run. – Kevin Oct 4 '18 at 11:20
  • If you are using configurable product then you need to select product attribute as option in frontend. – Sukumar Gorai Oct 4 '18 at 11:38

Your Answer

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

Browse other questions tagged or ask your own question.