I have tried below code
var deferred = $.Deferred();
getTotalsAction([], deferred);
But no luck and instead below error i am facing
Uncaught TypeError: Cannot read property 'sectionLoadUrl' of undefined
Same code is working in Magento 2.1.9 but not working in Magento 2.2.7
Could you guys please help me out. How to Refresh/Reload the totals cart via ajax Thanks in advance.
},success: function(data) { var deferred = $.Deferred();
var sections = ['cart']; customerData.reload(sections, true); fullScreenLoader.stopLoader();
getTotalsAction([], deferred); } }); }); – gajjala sandeep Mar 25 '19 at 11:14