The selectable products and simplified products were saved with Yes.

No was output when acquiring the corresponding attribute code on the front end.

The following is the code written when getting the attribute value.


My environment is as follows.

  • Magento 2.2.6
  • PHP 7.1

I do not know the cause.

please tell me.

Properties enter image description here

Storefront Properties enter image description here


If you already have enable/disable(Yes/No) for the individual products. You need to run the following command:

bin/magento indexer:reindex
bin/magento cache:flush

I also have tested it on the magento ver. 2.2.6. See attached screen

enter image description here

I am not sure where you are reffering to see Yes/No value on frontend.

  • I updated the index and cache, but the output information does not change. – mr.hironobu Mar 28 at 7:21
  • Please provide the problem in greater detail along with screenshot. Which magento version you are using etc. – Kamlesh Yaduwanshi Mar 28 at 7:32
  • Detailed information has been added. – mr.hironobu Mar 28 at 7:45

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.