Empty the Cart

You can empty the cart with:


This can be used in the shopping process to let the user empty their cart.

You will also want to call this function after a successful payment has been made in order to remove the purchased items from the cart.