cancel
Showing results for 
Search instead for 
Did you mean: 

How to Restrict product add-to-cart if cart has specified category of products?

How to Restrict product add-to-cart if cart has specified category of products?

If my cart consists category id = 4 products, no other products eligible to add-to-cart, how to restrict by using anything, i tried using observer it not work, any help pls.