Skip to content

Commit c640bc4

Browse files
MAGETWO-95739: Zip code is not validated during checkout when "My billing and shipping address are the same" is unchecked
1 parent 176b303 commit c640bc4

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/shipping-rates-validator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ define([
155155
* @return {*}
156156
*/
157157
postcodeValidation: function (postcodeElement) {
158-
var countryId = $('#checkoutSteps > :visible select[name="country_id"]').val(),
158+
var countryId = $('select[name="country_id"]:visible').val(),
159159
validationResult,
160160
warnMessage;
161161

0 commit comments

Comments
 (0)