[PaaS only]{class="badge informative" title="Applies to Adobe Commerce on Cloud projects (Adobe-managed PaaS infrastructure) and on-premises projects only."}

ACSD-63067: Resolving quantity validation issues in grouped products on storefront

The ACSD-63067 patch fixes the issue where all product quantities in grouped products are incorrectly highlighted as invalid when only one product has an incorrect quantity. This patch is available when the Quality Patches Tool (QPT) 1.1.58 is installed. The patch ID is ACSD-63067. 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-p2

Compatible with Adobe Commerce versions:

Adobe Commerce (all deployment methods) 2.4.4 - 2.4.7-p3

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

In grouped products, an invalid quantity in one of the sub-products causes all quantities to be incorrectly highlighted as invalid. Additionally, a validation message appears for all products instead of only for the one with the invalid quantity.

Steps to reproduce:

  1. Create a new grouped product with at least two simple products as options.
  2. Open the product on the storefront.
  3. Enter an invalid quantity (For Example: -1) for one of the options and a valid quantity (For Example: 1) for the remaining options.
  4. Click Add to Cart.

Expected results:

Only the product with the invalid quantity is highlighted as invalid.

Actual results:

All product quantities are highlighted as invalid, and the message Please specify the quantity of product(s). is displayed for all products.

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
c2d96e17-5179-455c-ad3a-e1697bb4e8c3