You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doing a product save will set has_options to 0 because of check getCanSaveCustomOptions() in beforeSave and custom options disappear from frontend #8531
Save the product using it's own save function: $product->save()
Expected result
Product should display it's custom options on frontend
Actual result
Custom options are not shown on frontend because of attribute has_options is set to 0.
I know the correct way to save the product is: $this->productRepository->save($product) and this problem will not happen. I just want to let other people know about this behaviour so they can get their issue resolved.