Skip to content

Issue with product quantity value and product availability in front end(Floating Number Issue) #408

@santanu-brahma

Description

@santanu-brahma

In current development version product quantity can be a floating number that means it can take decimal value on it. But my thought says that, it should be integer number.

If one of the product's stock quantity is 0.5, front end showing this product is available for purchase(In Stock) but after add to the cart showing "We don't have as many product as you have requested...", This is related to back-end stock quantity.

product_quantity_bug

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions