Cart totals are not being loaded if some of the products is out of stock for internationalized store
Andrii-Antoniuk opened this issue · comments
Steps to reproduce:
- You have to have a store with a different locale than English.
- Login
- Add a product to the cart.
- Change this product quantity to 0 or to a negative number, or just change the flag to Out of stock
- Logout.
- Login
- See that the request has errors with the translated value of
There are no source items with the in stock status
orSome of the products are out of stock.
Actual result
What happened? Explain or show what is currently happening with the bug.
Cart data is containing the error. Because of that, it is also not possible to add other products to cart
Expected result
What did you expect to happen?
Cart data doesn't contain the error
Versions
- ScandiPWA: 6.1.1
- Any other composer module, you think could be related:
scandipwa/quote-graphql
Additional context
Found by CAG Ateles
@DzemalBecirevic 😃