Describe the bug
When adding a downloadable product to the cart using the Add To Cart API, the quantity is not processed correctly.
Instead of validating or restricting the quantity (typically downloadable products should not allow multiple quantities), the API behaves incorrectly—either allowing invalid quantities, giving wrong totals, or adding unexpected cart entries.
To Reproduce
Steps to reproduce the behavior:
- Create or use a downloadable product.
- Hit the Add To Cart API
- Pass a payload with quantity > 1
- Check the cart response and cart items.
Expected behavior
- Downloadable product quantity should:
- Either be restricted to 1,
- OR validated properly with a clear error message.
- Cart should not allow invalid quantities for downloadable items.
- Cart totals should calculate correctly based on allowed rules.
Screenshots
If applicable, add screenshots to help explain your problem.

Describe the bug
When adding a downloadable product to the cart using the Add To Cart API, the quantity is not processed correctly.
Instead of validating or restricting the quantity (typically downloadable products should not allow multiple quantities), the API behaves incorrectly—either allowing invalid quantities, giving wrong totals, or adding unexpected cart entries.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
If applicable, add screenshots to help explain your problem.