Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Cart and Mini Cart blocks: error when changing the quantity of a product #5217

Closed
Aljullu opened this issue Nov 23, 2021 · 2 comments
Closed
Labels
block: all products Issues related to the all products block. block: cart Issues related to the cart block. block: mini-cart Issues related to the Mini-Cart block. focus: FSE Work related to prepare WooCommerce for FSE. type: bug The issue/PR concerns a confirmed bug.

Comments

@Aljullu
Copy link
Contributor

Aljullu commented Nov 23, 2021

To reproduce

  1. Add the Mini Cart block to a post or page.
  2. In the frontend, click on the button and see the drawer open.
  3. Try changing the quantity of a product or removing one product.
  4. Notice there is an error in the console:
Kooha-11-23-2021-10-39-13.mp4
@Aljullu Aljullu added type: bug The issue/PR concerns a confirmed bug. focus: FSE Work related to prepare WooCommerce for FSE. block: mini-cart Issues related to the Mini-Cart block. labels Nov 23, 2021
@Aljullu
Copy link
Contributor Author

Aljullu commented Dec 1, 2021

This issue is also happening in the Cart and All Products blocks and seems to be specific to WP 5.9.

@Aljullu Aljullu changed the title Mini Cart: error when changing the quantity of a product Cart and Mini Cart blocks: error when changing the quantity of a product Dec 1, 2021
@Aljullu Aljullu added block: all products Issues related to the all products block. block: cart Issues related to the cart block. labels Dec 1, 2021
@Aljullu
Copy link
Contributor Author

Aljullu commented Dec 2, 2021

After some investigation, this seems to be a bug in the Query Monitor plugin (I had it active while testing). If I'm not wrong, the issue was introduced in Query Monitor 3.7 and it's still present in Query Monitor 3.7.1. However, I tested with trunk from the repo and it seems to have been fixed there.

So closing this issue.

@Aljullu Aljullu closed this as completed Dec 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
block: all products Issues related to the all products block. block: cart Issues related to the cart block. block: mini-cart Issues related to the Mini-Cart block. focus: FSE Work related to prepare WooCommerce for FSE. type: bug The issue/PR concerns a confirmed bug.
Projects
None yet
Development

No branches or pull requests

1 participant