Error When Setting Quantity to Less Than 1 on SFRA
Trailblazer Community

Error When Setting Quantity to Less Than 1 on SFRA

Commerce Cloud API/OCAPI

Last updated 2020-06-05 ·Reference W-6690448 ·Reported By 4 users

In Review

Summary
When setting a Product's quantity to a fractional value less than 1, an error is thrown and the action is not completed

Repro
1. Update a Product's "Minimum Order Quantity" to a value greater than 0 and less than 1
2. Update the Product’s "Step Quantity” to a value greater than 0 and less than 1
3. Open the Storefront and navigate to that Product
4. Set the Quantity to a value less than 1
5. Add the Product to Cart

Workaround
Currently, there is no standard workaround. You will need to implement custom logic/code handles that fractional quantities and price calculations when the quantity is less than 1

Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.