Ecommerce for Statamic

Empty cart tag

Place this single tag on a template to clear the entire contents of the cart.

Parameters

return
The URL to be shown after the cart is emptied.

Example

Place {{ bison:empty_cart }} by itself on a template and visit /cart/empty?return=/products to empty the cart and redirect to the products page.


Problem with this page? Edit it on Github.