Skip to content

Commit

Permalink
Merge pull request #29 from astoundcommerce/buxfix/AVASUP-375
Browse files Browse the repository at this point in the history
bugfix/AVASUP-375: Synchronization validated billing and shipping add…
  • Loading branch information
marynychsv authored Sep 23, 2019
2 parents 807af55 + 2817b64 commit f935f55
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 f935f55

Please sign in to comment.