Skip to content

Commit

Permalink
Fixed issue with shipping methods error
Browse files Browse the repository at this point in the history
Fixed issue with shipping methods error not showing because of json variable name being wrong.
  • Loading branch information
beechyrb committed Oct 27, 2016
1 parent 63f2725 commit 6c5f6b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions upload/admin/view/template/sale/order_form.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2155,7 +2155,7 @@ $('#button-shipping-address').on('click', function() {
}
}
} else {
html += '<option value="" style="color: #F00;" disabled="disabled">' + json['shipping_method'][i]['error'] + '</option>';
html += '<option value="" style="color: #F00;" disabled="disabled">' + json['shipping_methods'][i]['error'] + '</option>';
}
html += '</optgroup>';
Expand Down Expand Up @@ -2555,4 +2555,4 @@ $('#tab-shipping .form-group[data-sort]').detach().each(function() {
}
});
</script></div>
<?php echo $footer; ?>
<?php echo $footer; ?>

0 comments on commit 6c5f6b0

Please sign in to comment.