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 ?

enter image description here

  • 1
    You need to call the quote collect total method there same done on the shipping method selection or payment method selection. Jun 18 at 10:00
  • Thank you @Dhiren Vasoya , i got the solution with reference of magento shipping method selection Jun 18 at 11:01

With the help of below code i got my problem solution

            url: url.build("/admin/router/controller/customfee"), 
            data: {option: 1},
            type: "POST", 
            dataType: 'json'
                 function (response) { 
                   window.order.loadArea(['custom_fee', 'totals'], true);
                    function (response) { 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.