ACSD-63067: Resolving quantity validation issues in grouped products on storefront
- Topics:
- Storefront
CREATED FOR:
- Experienced
- Admin
- Developer
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
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:
- Create a new grouped product with at least two simple products as options.
- Open the product on the storefront.
- Enter an invalid quantity (For Example: -1) for one of the options and a valid quantity (For Example: 1) for the remaining options.
- 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:
- 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.