Skip to content

Commit 543015f

Browse files
zamorokacolinmollenhour
authored andcommitted
Fix admin create order shipping_as_billing is 0 (OpenMage#306)
issue: OpenMage#305
1 parent c04788c commit 543015f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

js/mage/adminhtml/sales.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ AdminOrder.prototype = {
350350
setShippingMethod : function(method){
351351
var data = {};
352352
data['order[shipping_method]'] = method;
353+
data['shipping_as_billing'] = this.shippingAsBilling ? 1 : 0;
353354
this.loadArea(['shipping_method', 'totals', 'billing_method'], true, data);
354355
},
355356

0 commit comments

Comments
 (0)