Skip to content

Commit 55d5c00

Browse files
committed
ACP2E-1143: allow giftcard to be displayed when multiple shipping method enabled
1 parent 4b7e7bd commit 55d5c00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Checkout/view/frontend/web/js/model/cart/estimate-service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ define([
4545
// check if user data not changed -> load rates from cache
4646
if (!cartCache.isChanged('address', quote.shippingAddress()) &&
4747
!cartCache.isChanged('cartVersion', customerData.get('cart')()['data_id']) &&
48-
cartCache.get('rates')
48+
cartCache.get('rates') && !cartCache.isChanged('totals', quote.getTotals())
4949
) {
5050
shippingService.setShippingRates(cartCache.get('rates'));
5151
quote.setTotals(cartCache.get('totals'));

0 commit comments

Comments
 (0)