updateCart

updateCart

Method Signature

Cart updateCart()

Description

Updates all the fields on a cart, except for the item information. You should call these after updating information like billing, shipping, payment, etc. The cart does not have to be passed to this method because the method knows to submit the cart variable.

Parameters

None

Result

Cart – the updated cart object. This will have recalculated values as a result of the update. The global cart variable is automatically updated after this call is complete.