ACSD-47908: A value less than or equal to 0 is expected error during checkout
The ACSD-47908 patch fixes the error A value less than or equal to 0 is expected when selecting the source and quantity in the shipping step during checkout. This patch is available when the Quality Patches Tool (QPT) 1.1.27 is installed. The patch ID is ACSD-47908. Please note that the issue is scheduled to be fixed in Adobe Commerce 2.4.7.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.4-p2
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.3.7 - 2.4.6
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
The following error is thrown when selecting the source and quantity in the shipping step during checkout: A value less than or equal to 0 is expected.
Prerequisites:
Install Adobe Commerce Inventory Management (MSI) modules.
Steps to reproduce:
- Go to Stores > Inventory > Sources and configure multiple sources.
- Go to Stores > Inventory > Stock and create a new stock.
- Now assign the sources to the new stock.
- Go to Catalog > Products and edit at least one product.
- Make sure that the products are assigned to the new sources, and specify the available quantity.
- Go to Sales > Orders and create a new order.
- Add those products to the order and place it.
- Click Ship.
- Select the source to be shipped from.
- Specify the quantity of each item to be shipped.
- Reload the page.
- Click on Proceed to Shipment.
Expected results:
The new shipment page opens without any error.
Actual results:
-
The quantity entered cannot be validated.
-
The following error is thrown: Please enter a value less than or equal to 0.
The error is, however, inconsistent and may not always appear.
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 released: a new tool to self-serve quality patches in our support knowledge base.
- Check if patch is available for your Adobe Commerce issue using Quality Patches Tool in our support knowledge base.
For info about other patches available in QPT, refer to Quality Patches Tool: Search for patches in the Quality Patches Tool guide.