These docs are for v20.3.44. Click to read the latest docs for v20.3.186.

Discussions

Ask a Question
Back to All

Modify cart - refresh total

Hello,

I am wanting to remove items from a cart. I fetch the cart, find the lines in the ["ComboOrder"]["Lines"] section and remove them. However the cart price total does not update.
If I remove the total properties from the cart it then seems to make the cart not have any total cost. How do I get the system to recalculate the cart totals?

Thanks.