ACSD-52736: Cart Price Rule doesn’t work as expected
The ACSD-52736 patch fixes the issue where a Cart Price Rule that includes the requirements for configurable product quantity does not work as expected. This patch is available when the Quality Patches Tool (QPT) 1.1.36 is installed. The patch ID is ACSD-52736. Please note that the issue was fixed in Adobe Commerce 2.4.6.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.5-p1
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.3.7 - 2.4.5-p4
magento/quality-patches
package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.Issue
A Cart Price Rule that includes the requirements for configurable product quantity doesn’t work as expected.
Steps to reproduce:
-
Create a cart rule:
- Apply = Percent of product price discount
- Discount Amount = 60
- Maximum Qty Discount is Applied to = 1
- Discount Qty Step (Buy X) = 1
- Apply the rule only to the cart items matching the following conditions: Quantity in cart is 1
-
Add a product with Qty = 2, to the cart.
-
Check cart prices.
Expected results:
The rule is not applied because the quantity of the products in the cart is 2.
Actual results:
The discount is applied.
Additional steps required after the patch installation:
After applying the patch, the cart rule conditions using the Quantity attribute must be removed and added again.
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
- Adobe Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide.
- Adobe Commerce on cloud infrastructure: Upgrades and Patches > Apply Patches in the Commerce on Cloud Infrastructure guide.
Related reading
To learn more about Quality Patches Tool, refer to:
- Quality Patches Tool released: a new tool to self-serve quality patches in the support knowledge base.
- Check if patch is available for your Adobe Commerce issue using Quality Patches Tool in the Quality Patches Tool guide.
For info about other patches available in QPT, refer to Quality Patches Tool: Search for patches in the Quality Patches Tool guide.