Plugin ignores woocommerce_add_to_cart_validation
-
Hello. On my website, I forbade buying products from category “A” along with products from category “B”. For this I use the woocommerce_add_to_cart_validation filter. It works well. However, when my user opens the archive page of these two categories in different browser tabs, he is able to buy these items together. I noticed that this is due to a variable product, the options of which are displayed on the storefront using your plugin. The user in the first tab first adds a simple item from category “A” to the cart. Then he goes to the next tab with category “B” and gets a unique opportunity to add a variable product to the cart. Please tell me can you help me with this?
- The topic ‘Plugin ignores woocommerce_add_to_cart_validation’ is closed to new replies.