I need to configure my cart settings as such that it allows only a specific number of product. I know how to set minimum and maximum quantity for products while adding the products to cart. I ain't talking about quantity but specifically the number of products. Like in the img1 there are 3 products and now I want to restrict the number of products that can be added in cart to 6.
In a similar manner I want to restrict the total number of items in cart to 5000.In img2 its 100.