Skip to content

Commit

Permalink
bugfix/AVASUP-375: Synchronization validated billing and shipping add…
Browse files Browse the repository at this point in the history
…resses for not logged customers
  • Loading branch information
v-okrushko committed Sep 19, 2019
1 parent 807af55 commit 2817b64
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions view/frontend/web/js/view/update-address.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2817b64

Please sign in to comment.