cancel
Showing results for 
Search instead for 
Did you mean: 

How to limit the the maximum product in cart from a category ?

How to limit the the maximum product in cart from a category ?

Hello There.

I am using Magento ver. 2.1.7. 

I have made a Category of free samples. There 5 products in that

 

What I want is to set that, The customer should able to order for only any 2 form free samples Category. and this setting should not effect for another category.  is it possible?

 

I tried with making attributes but not understand how to set the condition.

please Help...

 

Thank You  

MI