Skip to content

Commit 65b9dfc

Browse files
Ievgen ShakhsuvarovSerhiy Shkolyarenko
authored andcommitted
MAGETWO-34259: Customer is redirected to shopping cart by clicking on mini shopping cart after adding product to cart
1 parent 24cc67d commit 65b9dfc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Catalog/view/frontend/web/js/catalog-add-to-cart.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ define([
6363
}
6464
if (res.minicart) {
6565
$(self.options.minicartSelector).replaceWith(res.minicart);
66+
$(self.options.minicartSelector).trigger('contentUpdated');
6667
}
6768
if (res.product && res.product.statusText) {
6869
$(self.options.productStatusSelector)

0 commit comments

Comments
 (0)