Empty the Cart

You can empty the cart with:

perch_shop_empty_cart();

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.