title: How to remove woocommerce error You cannot add another “PRODUCT NAME” to your cart
body: <p>in my website woocommerce settings, remove add to card ajax and notice; and when users (visitors) add a product to basket for buy, redirect after click to basket and show message add product to card successful in basket</p>
  
  <p>but when in product option active (enable) I want to sell alone option.
  users try for add product to basket for repeatedly. receive below message:
  cannot add another “PRODUCT NAME” to your cart.
  my question is How to use functions.php for remove this woocommerce error You cannot add another “PRODUCT NAME” to your cart.</p>
  
  <p>and new message show in basket after repeat click add to cart button in basket
  you previously “PRODUCT NAME” to your cart. so now you can pay.</p>
  
  <p>Generally:</p>
  
  <ol>
  <li><p>remove cant add another ... message and stop redirect to product page after click.</p></li>
  <li><p>show new custom message. after click and go to basket.</p></li>
  </ol>
  
  <p>Thank you very much for all of you</p>