All this needs to happen on the same page without any reloads
This clears a custom upcharge
And This Reloads the basket charges:
But how do I reload everything else because the "total" via &mvt:basket:formatted_total; is still including the cleared charges.
This clears a custom upcharge
HTML Code:
<mvt:assign name="g.customCharge:type" value="'CustomUpcharge'" /> <mvt:do file="g.Module_Library_DB" name="l.successClearingCharges" value="BasketCharge_Delete_All_Type( g.basket:basket_id, g.customCharge:type )" />
HTML Code:
<mvt:do file="g.Module_Library_DB" name="l.successSettingItems" value="BasketChargeList_Load_Basket( g.basket:basket_id, l.settings:basket:groups )" />
Comment