Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add product to website will reset has_options and required_options #9896

Closed
JeroenVanLeusden opened this issue Jun 9, 2017 · 2 comments
Closed
Assignees
Labels
bug report Component: Catalog Issue: Cannot Reproduce Cannot reproduce the issue on the latest `2.4-develop` branch Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development

Comments

@JeroenVanLeusden
Copy link
Member

Preconditions

  1. Magento v2.1.7
  2. PHP v7.0.14
  3. MySQL v5.7.16

Steps to reproduce

  1. Create a 2nd website.
  2. Create a configurable product with any attribute.
  3. Add a Customizable Option (http://cloud.h-o.nl/krY0)
  4. Save the product.
  5. Open the tab Product in Websites and add you configurable to your created website.
  6. Save the product.

Expected result

  1. Entry in table catalog_product_entity should have has_options and required_options set to 1.

Actual result

  1. The columns has_options and required_options are set to 0.
  2. If you save the product again in the backend it will set has_options and required_options to 1 again.
  3. 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

  1. Product->save() shouldn't be called directly #8498 (applying this fix won't help).
@IlnitskiyArtem
Copy link

Thank you, Internal ticket was created for this issue - MAGETWO-69927

@veloraven veloraven added the Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development label Jun 21, 2017
@magento-engcom-team magento-engcom-team added 2.1.x Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development bug report Component: Catalog Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed and removed G1 Passed labels Sep 5, 2017
@magento-engcom-team magento-engcom-team self-assigned this Sep 29, 2017
@magento-engcom-team magento-engcom-team added the Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed label Sep 29, 2017
@magento-engcom-team
Copy link
Contributor

@JeroenVanLeusden, thank you for your report.
We were not able to reproduce this issue by following the steps you provided. If you'd like to update it, please reopen the issue.
We tested the issue on 2.1.9

@magento-engcom-team magento-engcom-team added the Issue: Cannot Reproduce Cannot reproduce the issue on the latest `2.4-develop` branch label Oct 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Component: Catalog Issue: Cannot Reproduce Cannot reproduce the issue on the latest `2.4-develop` branch Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development
Projects
None yet
Development

No branches or pull requests

4 participants