Closed
Description
Preconditions
- Magento v2.1.7
- PHP v7.0.14
- MySQL v5.7.16
Steps to reproduce
- Create a 2nd website.
- Create a configurable product with any attribute.
- Add a Customizable Option (http://cloud.h-o.nl/krY0)
- Save the product.
- Open the tab
Product in Websites
and add you configurable to your created website. - Save the product.
Expected result
- Entry in table
catalog_product_entity
should havehas_options
andrequired_options
set to1
.
Actual result
- The columns
has_options
andrequired_options
are set to0
. - If you save the product again in the backend it will set
has_options
andrequired_options
to1
again. - After you added the product to you newly created website both columns are set to
0
. If you add the product to your cart it will do so without your selected custom option.
Possible related
- Product->save() shouldn't be called directly #8498 (applying this fix won't help).