ACSD-53502: Add to Cart intermittently fails on iOS Safari due to New Relic script recursion

The ACSD-53502 patch fixes the issue where Add to Cart intermittently fails on the storefront in iOS Safari because recursive calls to the New Relic monitoring script trigger page reloads. This patch is available when the Quality Patches Tool (QPT) 1.1.80 is installed. The patch ID is ACSD-53502. Please note that this 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-p12

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) 2.4.5 - 2.4.5-p17
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

Add to Cart intermittently fails on the storefront in iOS Safari due to recursive calls to the New Relic monitoring script, causing page reloads.

Steps to reproduce:

  1. Open the storefront on an iOS device.
  2. Accept cookies, if prompted.
  3. Navigate to a product detail page.
  4. Click Add to Cart.
  5. Repeat the action multiple times, including in normal and incognito modes.

Expected results:

  1. Clicking Add to Cart adds the selected product to the cart.
  2. The mini cart updates without reloading the full page.

Actual results:

  1. Clicking Add to Cart intermittently triggers a full page reload.
  2. The product is not added to the cart.
  3. The mini cart remains empty.
  4. Cookie/session behavior may appear unstable.

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