Details
Description
Preconditions:
- Added at least one product in BA
Steps to reproduce:
- Go to storefront.
- Add product to cart.
- Go to /cart page.
- Click on 'Remove product' or 'Clear cart' button.
Actual result:
See attached screenshot.
Removing product from cart causes a JS exception in console.
Uncaught TypeError: Cannot read properties of undefined (reading 'catch')
at StorefrontMaincart.handleItemRemove (ibexa-storefront-cart-js.js:1496:107)
at HTMLButtonElement.<anonymous> (ibexa-storefront-cart-js.js:459:22)
Expected result:
No exception occurs.