Skip to content

magento/magento2#12705: Integrity constraint violation error after re… #13394

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

Merged

Conversation

vinayshah
Copy link
Member

@vinayshah vinayshah commented Jan 26, 2018

…ordering product with custom options

(issue fixed for 2.2-develop)

  • Fixed issue by updating options if parent item is same for more than one product
  • Fixed issue for reorder in admin while checking the availability of product, which is not available in case of associate product.

Description

Generated Pull Request for fixing the issue regarding custom options in a configurable product with the same configuration but different custom option values in the case of reordering. Also fixed an issue along with for checking product availability while reordering from admin.
issue is already reported #12705 and merged for 2.2-develop (#13036)

Fixed Issues (if relevant)

  1. magento/magento2# Integrity constraint violation error after reordering product with custom options #12705: Integrity constraint violation error after reordering product with custom options

Manual testing scenarios

  1. Create a configurable product from admin with set of configurable options and add a custom option specific to radio option and values
  2. Add 2 product to cart with same configurable options, but different custom options value.
  3. Place an order with the same.
  4. Then reorder the same order either from Customer My Account or From Admin, the product should get reordered with all the configurable options and it's custom options.

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

…product with custom options

(issue fixed for 2.2-develop)
- Fixed issue by updating options if parent item is same for more than one product
- Fixed issue for reorder in admin while checking the availability of product, which is not available in case of associate product.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants