Thursday, 15 October 2020

How to remove woocommerce error You cannot add another “PRODUCT NAME” to your cart

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

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.

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.

Generally:

  1. remove cant add another ... message and stop redirect to product page after click.

  2. show new custom message. after click and go to basket.

Thank you very much for all of you



from How to remove woocommerce error You cannot add another “PRODUCT NAME” to your cart

No comments:

Post a Comment