fixed decimal quantity check when adding product to cart