ACP2E-4720: Free shipping cart price rules do not reset for fixed-price bundle products with ship items separately

The ACP2E-4720 patch fixes the issue where free shipping wasn’t properly applied nor removed for bundle products with cart discount rules. This patch is available when the Quality Patches Tool (QPT) 1.1.79 is installed. The patch ID is ACP2E-4720. Please note that this issue is scheduled to be fixed in Adobe Commerce 2.4.9.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) 2.4.7-p7

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) 2.4.7 - 2.4.8-p4
NOTE
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your Adobe Commerce version, update the 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

Free shipping is not recalculated correctly for fixed-price bundle products configured to ship items separately when cart price rule eligibility changes.

Prerequisites:

  1. Enable Flat Rate Shipping, price = $10/order.
  2. Create Simple Product 1: SKU test-simple-70493-1, price $40.
  3. Create Simple Product 2: SKU test-simple-70493-2, price $30.
  4. Create a bundle product (SKU test-bundle-70493): Type = Fixed price ($45.45/unit with options); Ship Bundle Items = Separately; Option 1 = Simple Product 1 (required, radio); Option 2 = Simple Product 2 (required, radio).
  5. Create a Cart Price Rule: Free shipping when subtotal >= $100, applied to matching items.

Steps to reproduce:

  1. Open the bundle product page on the Storefront.

  2. Select both required options (Option 1 and Option 2).

  3. Set Qty to 3, then click Add to Cart.

  4. Go to the Cart page.

  5. In the cart, under Estimate Shipping and Tax, set:

    • Country = United States
    • State = California
    • Zip/Postal Code = 90210
  6. Verify that the cart summary displays:

    • Subtotal: €136.35
    • Shipping: €0.00 (free shipping rule applied)
  7. In the cart line item, change Qty from 3 to 1, then click Update Shopping Cart.

  8. Subtotal drops to €45.45 (below the €100 threshold) — the free shipping rule should no longer apply.

Expected results:

Since the subtotal (€45.45) is below the cart price rule threshold (€100), the rule no longer qualifies. Shipping should revert to the standard Flat Rate charge:

  • Subtotal (Excl. Tax) €45.45
  • Subtotal (Incl. Tax) €45.45
  • Shipping (Flat Rate - Fixed) €10.00 ← Rule no longer applies, shipping should be charged
  • Order Total €55.45

Actual results:

Shipping remains at €0.00 — the free shipping from the previous calculation persists even though the cart no longer meets the rule condition:

  • Subtotal (Excl. Tax) €45.45
  • Subtotal (Incl. Tax) €45.45
  • Shipping (Flat Rate - Fixed) €0.00 ← BUG: should be €10.00
  • Order Total €45.45 ← BUG: should be €55.45

The customer gets free shipping that they are not entitled to, resulting in a €10.00 revenue loss per order.

Apply the patch

To apply individual patches, use the following links depending on your deployment method:

To learn more about Quality Patches Tool, refer to:

recommendation-more-help
commerce-operations-help-tools