CyberStore Ecommerce 2023 Documentation
AddToCartMinimumQuantity Property


Dovetail.Ecommerce.ControlBases Namespace > PricingControl Class : AddToCartMinimumQuantity Property
Gets or sets the minimum required quantity to add to the cart.

Property Value

Type: Integer

An integer value that specifies the minimum required quantity, Stocking Unit of Masure based, required in order to add to the cart.

The default is 0 (no minimum required).

The minimum required.
Remarks

In cases when it would be important to ensure that Items are added to the Shopping Cart and enforce a minimum quantity (greater than 1), the AddToCartMinimumQuantity property allows one to do so. An integer value can be set to the property value and if a Shopper were to attempt to enter a quantity less than that setting, the Item would not be added to the cart and a message will be displayed.

 

Implementation Note:

When using the AddToCartMinimumQuantity property, please note that the calculation is based on the Stocking Unit of measure.

See Also

Reference

PricingControl Class
PricingControl Members