Magento 2.1 – Fix Configurable Products Not Showing Options on Product Page

configurable-productmagento-2.1

I've manually added 20 configurable products to my store. All products use the same option for configuration, in my case "frame color." After creating the products, I went to their respective product pages and found that for about a third of the products, the ability to choose the frame color in the drop down box didn't work. Clicking on the Please choose an option drop down, shows no options available. I can find no problems with any of the simple products created. They appear identical in their setup between working configurations and those that don't.

Has anyone seen this before? Is it a known bug? If you've seen it and fixed it, I'd love to know what you did.

I've tried deleting the bad configurable products and their associated simple products and recreating them to no avail.

CE 2.1.4, no extensions installed except a theme.

This config works:

This config works

This config does not work:

config that doesn't work

Best Answer

I checked the following scenario on 2.1.4 and couldn't reproduce it, all works as expected for me, product options are available on the storefront.

Please let me provide the steps I used and let me know if it's not the same as yours.

  1. I created a product attribute which has dropdown input type and named it "Size" with three values: S, M, L
  2. Cleaned cache
  3. Created a configurable product "Shirt" based on that "Size" attribute and used all those three values on Step 2 of Configurable Product Wizard
  4. Checked all the options like Stock Status, Quantity, Website assignment in order to verify that "Color Shirt" will be available on the Storefront
  5. Upon saving the "Color Shirt" I selected "Add configurable attributes to the current Attribute Set"
  6. Cleaned cache
  7. Then I created another configurable product "Pants" based on the same attribute "Size"
  8. On the Step 2 of Configurable Product Wizard I left S, M and L unchecked and created three more values XS, XL and XXL and selected them
  9. Checked all the options like Stock Status, Quantity, Website assignment in order to verify that "Pants" will be available on the Storefront
  10. Upon saving the "Color Shirt" I selected "Add configurable attributes to the current Attribute Set"
  11. Cleaned cache
  12. Went to the Storefront and checked both Products "Shirt" and "Pants"
  13. Both of them had options under "Please choose an option..."

What theme do you use? Is this issue reproducible for you without this theme installed?