title: How to remove single product from woocommerce cart
body: <p>I am new to woocommerce. Recently I am trying to develop a e-commerce site with woocommerce plugin. But the problem is , when I want to delete a single product from cart all products are deleted from cart. I used the code below to remove from cart</p>
  
  <pre><code> &lt;a id="empty_cart" class="button" href="&lt;?php echo $woocommerce-&gt;cart-&gt;get_cart_url();   ?&gt;?empty-cart"&gt;&lt;?php _e( 'Empty Cart', 'woocommerce' ); ?&gt;&lt;/a&gt; 
  </code></pre>
  
  <p>But I dont know which code should I use to remove products which I want to remove. Not whole products. Please help me. </p>