scandipwa / scandipwa

Next-generation front-end for Magento 2

Home Page:https://scandipwa.com/?utm_source=github&utm_medium=readme&utm_campaign=general

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  1. You have to have a store with a different locale than English.
  2. Login
  3. Add a product to the cart.
  4. Change this product quantity to 0 or to a negative number, or just change the flag to Out of stock
  5. Logout.
  6. Login
  7. See that the request has errors with the translated value of There are no source items with the in stock status or Some 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 😃