Skip to content

Commit 2982745

Browse files
AC-2044::Cart Price Rule with shipping method set as condition is not working Magento-fix unit tests failure
1 parent 93470f8 commit 2982745

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

app/code/Magento/Checkout/view/frontend/web/js/model/quote.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ define([
158158
const selectedShippingMethod = checkoutData.getSelectedShippingRate();
159159
return selectedShippingMethod ? selectedShippingMethod :
160160
this.shippingMethod() ?
161-
this.shippingMethod()['carrier_code'] + '_' + quote.shippingMethod()['method_code'] :
161+
this.shippingMethod()['carrier_code'] + '_' + this.shippingMethod()['method_code'] :
162162
null;
163163
}
164164
};

0 commit comments

Comments
 (0)