title: Empty cart before add to cart in WooCommerce
body: <p>I am using WP Job manager with Woo Subscriptions.</p>
  
  <p>Now:</p>
  
  <ol>
  <li>Initially, I selected a package(Woo Subscription)</li>
  <li>Then I added all the details.</li>
  <li>But did not submit it.</li>
  <li>Came back to the site, so to buy again I need to select a package. So I selected the package and filled in details and went to the payment package.</li>
  <li>Now in my cart both the packages are present (i.e the one I selected without buying first time and the recent one)</li>
  <li>How can this be fixed so the latest selected one is in the cart and earlier one deleted as soon as latest one selected.</li>
  </ol>
  
  <p>I tried this <a href="https://stackoverflow.com/questions/21181911/woocommerce-delete-all-products-from-cart-and-add-current-product-to-cart">Woocommerce Delete all products from cart and add current product to cart</a>  but did not help.</p>