Skip to content
This repository was archived by the owner on Jan 26, 2024. It is now read-only.

Commit 6c70b8f

Browse files
authored
Merge pull request #1689 from mercs600/bugfix/1520
[#1520] Fix shipping carrier code assignment
2 parents 02e5acf + 2aa2fca commit 6c70b8f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/components/blocks/Checkout/Shipping.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,8 @@ export default {
5454
shipping = this.shippingMethods[0]
5555
}
5656
this.shipping.shippingMethod = shipping.method_code
57-
this.shipping.shippingCarier = shipping.carrier_code
57+
this.shipping.shippingCarrier = shipping.carrier_code
5858
}
59-
this.changeShippingMethod()
6059
},
6160
methods: {
6261
sendDataToCheckout () {
@@ -97,7 +96,8 @@ export default {
9796
apartmentNumber: this.myAddressDetails.street[1],
9897
zipCode: this.myAddressDetails.postcode,
9998
phoneNumber: this.myAddressDetails.telephone,
100-
shippingMethod: this.$store.state.checkout.shippingDetails.shippingMethod
99+
shippingMethod: this.$store.state.checkout.shippingDetails.shippingMethod,
100+
shippingCarrier: this.$store.state.checkout.shippingDetails.shippingCarrier
101101
}
102102
} else {
103103
this.shipping = this.$store.state.checkout.shippingDetails

0 commit comments

Comments
 (0)