ACSD-63992: Cart Price Rule with coupon and shipping method condition error in Admin UI
- Topics:
- Price Rules
- Admin Workspace
CREATED FOR:
- Experienced
- Admin
- Developer
The ACSD-63992 patch fixes the issue where the Cart Price Rule with a coupon and a condition based on a shipping method can’t be correctly applied through the Admin UI. This patch is available when the Quality Patches Tool (QPT) 1.1.60 is installed. The patch ID is ACSD-63992. Please note that the issue is scheduled to be fixed in Adobe Commerce 2.4.8.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.7-p3
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.4 - 2.4.7-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
When a cart rule includes a condition for the shipping method within the Conditions section, the associated coupon code doesn’t apply when creating an order through the Admin Panel. Instead, the system displays the following error:
The <> coupon code isn’t valid. Verify the code and try again.
Steps to reproduce:
-
Create a cart price rule and describe its conditions:
- Under Conditions: Add a condition to include the shipping method (for example, Flat Rate).
- Under Rule Information: Set Coupon to Specific Coupon and then enter Coupon Code as TEST.
-
Create a new order from the Admin Panel and enter the coupon code TEST in the Apply Coupon field.
Expected results:
The coupon gets applied successfully.
Actual results:
The following error message appears:
"The "TEST" coupon code isn't valid. Verify the code and try 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: A self-service tool for quality patches in the Tools guide.