Knowledgebase: Form Code & Javascript
Empty Shopping Cart
Posted by Kyle on 10 December 2008 10:37 AM
Cart has a special method for allowing your customer to remove all items from their cart at once. There are two methods for doing this: an HTML form (POST) or a link (GET). Below are examples of both. In our example we will use a cart located at and we will use the client TEST.

Empty Cart (Link/GET)
<a href="">Empty Your Cart</a>

Empty Cart (Form/POST)
<form method="post" action="">
<input type="submit" value="Empty Cart" />
(104 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name: