[Issue] Checkout / Sales Rules / Get rid of redundant DB query #29453
Labels
Component: Rule
Component: SalesRule
Fixed in 2.4.x
The issue has been fixed in 2.4-develop branch
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
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
Priority: P1
Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.
Reproduced on 2.4.x
The issue has been reproduced on latest 2.4-develop branch
Severity: S2
Major restrictions or short-term circumventions are required until a fix is available.
Triage: Dev.Experience
Issue related to Developer Experience and needs help with Triage to Confirm or Reject it
Uh oh!
There was an error while loading. Please reload this page.
This issue is automatically created based on existing pull request: #29376: Checkout / Sales Rules / Get rid of redundant DB query
Preconditions:
By replacing direct SQL query with Data Provider that was already used in this Validator class allowed me to drastically reduce the cost of checkout placing process.
Local environment
20 products in cart
Custom project
22 products in cart
Related Pull Requests
Fixed Issues (if relevant)
Performance of Checkout
Steps to reproduce:
Actual Result:

Expected Result:
Checkout should work faster by 20 - 30%
Questions or comments
Contribution checklist (*)
The text was updated successfully, but these errors were encountered: