From 2817b644521b3b7fb7d57474e88ae34c3846c097 Mon Sep 17 00:00:00 2001 From: "v.okrushko" Date: Thu, 19 Sep 2019 20:57:03 +0300 Subject: [PATCH] bugfix/AVASUP-375: Synchronization validated billing and shipping addresses for not logged customers --- view/frontend/web/js/view/update-address.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/view/frontend/web/js/view/update-address.js b/view/frontend/web/js/view/update-address.js index ae9e6932..981bc51c 100644 --- a/view/frontend/web/js/view/update-address.js +++ b/view/frontend/web/js/view/update-address.js @@ -23,9 +23,8 @@ define( 'use strict'; return function (address, dontCheckForBillingAddress) { - var newAddress = []; var quoteShippingAddress = quote.shippingAddress(); - newAddress = $.extend(quoteShippingAddress, newAddress); + var newAddress = $.extend(quoteShippingAddress, address); quote.shippingAddress(newAddress); // dontCheckForBillingAddress allows for the billing address to be updated even when billing address same