New Cart

The new_cart tag empties all items, coupon codes, and shipping codes from the cart, it also removes any configuration overrides that have been set on the cart. This completely re-initializes the cart back to it's default state. Use this to completely reset the cart and all configurations at any time, or after a purchase has been made.

Table of Contents

Parameters

return

This is the URL you'd like the site redirected to when the operation is complete. If left blank, the page will not redirect.

return="cart/home"

Example

{exp:cartthrob:new_cart return="cart/home" }