title: How to clear current commerce item in the shopping cart in ATG?
body: <p>I tried to clear the current commerce item in ATG. I am getting clearing <code>commerceItems</code> in the cart but when I click  it twice the "clear cart button" its clearing. I don't know how to rectify this. I have tried the following:</p>
  
  <pre><code> &lt;dsp:input bean="ShoppingCart.deleteAll" value="clearcart" type="submit"/&gt;
  </code></pre>
  
  <p>I used this bean only but it only works after clicking the clear button twice.</p>
  
  <p>Please help me out.
  Thanks in advance.</p>