ISnipcartItem..::..MaxQuantity Property
Use this attribute if you want to set a maximum allowed quantity of your product.
For example, if you set it to 5, your customers will not be able to add more than 5 occurrences of your product in their cart.
This comes in handy if you have limited stocks of a product or if you wish to limit the quantity per customer.
A good practice would be to set it to the quantity you have available in your inventory.
Namespace:
AdvantageCSP.Snipcart.InterfacesAssembly: AdvantageCSP.Snipcart (in AdvantageCSP.Snipcart.dll)
Syntax
[JsonPropertyAttribute] [DisplayNameAttribute] long MaxQuantity { get; }