I am creating new order from backend and i have to refresh order total section after my custom ajax request.
does any one know how i can achive this ?
I am creating new order from backend and i have to refresh order total section after my custom ajax request.
does any one know how i can achive this ?
With the help of below code i got my problem solution
jQuery.ajax({
url: url.build("/admin/router/controller/customfee"),
data: {option: 1},
type: "POST",
dataType: 'json'
}).done(
function (response) {
window.order.loadArea(['custom_fee', 'totals'], true);
}
).fail(
function (response) {
}
);