-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Component: ConfigurableProductFixed in 2.4.xThe issue has been fixed in 2.4-develop branchThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.A defect with this priority could have functionality issues which are not to expectations.Progress: doneReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releaseThe issue has been reproduced on latest 2.3 releaseSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.Major restrictions or short-term circumventions are required until a fix is available.
Description
When a user purchases the last of a simple product, even though the quantity is reduced to zero, the option is not disabled until the cache is manually flushed.
Preconditions (*)
- Magento 2.2.6
- PHP 7.0
- All default options. Manage Stock is ON.
Steps to reproduce (*)
- Create a new product (TEST). Give it a price and weight. Create 2 Configurable Options for color (RED and BLUE). Give them both a quantity of 1.
- Visit the product page (test.html). Select the RED option and Add to Cart.
- Proceed with a successful checkout.
- Visit the product page (test.html). Attempt to select the RED option.
Expected result (*)
- You should not be able to select RED, because the quantity of "TEST-RED" is 0 and the status is "out-of-stock"
Actual result (*)
- You can select RED and click Add to Cart. When you do, you get the "You need to choose options for your item." message.
- Manually flushing the cache (or casuing it to be flushed by saving the product) will remove the RED option.
Metadata
Metadata
Assignees
Labels
Component: ConfigurableProductFixed in 2.4.xThe issue has been fixed in 2.4-develop branchThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.A defect with this priority could have functionality issues which are not to expectations.Progress: doneReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releaseThe issue has been reproduced on latest 2.3 releaseSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.Major restrictions or short-term circumventions are required until a fix is available.
Type
Projects
Status
Done