fixed failure when adding a item that has 0 in stock to cart