Skip to content

Commit ce6c228

Browse files
Fixed Magento is no refreshing the cart page if you delete a product from cart side block(reload page on delete)
1 parent 7d481bd commit ce6c228

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Checkout/view/frontend/web/js

1 file changed

+1
-1
lines changed

app/code/Magento/Checkout/view/frontend/web/js/sidebar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ define([
312312
callback.call(this, elem, response);
313313
currentURL = window.location.pathname;
314314
if (currentURL.includes("/checkout/cart/")) {
315-
$("#shopping-cart-table").trigger('contentUpdated');
315+
location.reload();
316316
}
317317
} else {
318318
msg = response['error_message'];

0 commit comments

Comments
 (0)