"POST api/checkout/cart" Limitation on the number of items added to the cart.
-
thank you for your hospitality
When adding products to the cart with "POST api/checkout/cart", is the "Bagisto" validated for the "quantity"?
It seems to be buggy if there is no maximum quantity limit, because of the following "js" specification
(The maximum number should be 15 digits or less due to the "js" specification)Example.)
Input quantity
"quantity": 999999999999999999999
↓↓
Result of request in js
"quantity": 1e+21
↓
"Bagisto".
{"data":{"product_id":1, "quantity":1.0e+21}}
↓
Added in Result 1Sorry if I'm wrong, it's a difficult subject.
Best regards. -
Thank you so much for bringing your query to us.
We will be checking and updating you on the same.
We really appreciate your participation on the Bagisto ECommerce Platform.