Skip to content

Commit 93470f8

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

File tree

1 file changed

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

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ define([
7373
isNewAddressAdded: ko.observable(false),
7474
saveInAddressBook: 1,
7575
quoteIsVirtual: quote.isVirtual(),
76-
selectedShippingRate: null,
7776
/**
7877
* @return {exports}
7978
*/
@@ -113,7 +112,6 @@ define([
113112

114113
registry.async('checkoutProvider')(function (checkoutProvider) {
115114
var shippingAddressData = checkoutData.getShippingAddressFromData();
116-
this.selectedShippingRate = checkoutData.getSelectedShippingRate();
117115
if (shippingAddressData) {
118116
checkoutProvider.set(
119117
'shippingAddress',

0 commit comments

Comments
 (0)