Enum CartErrorType
- Namespace
- Dynamicweb.Frontend
- Assembly
- Dynamicweb.dll
Defines the types of errors that can occur when adding items to a cart.
public enum CartErrorType
Fields
FractionalQuantityNotAllowed = 8The quantity provided is not allowed as it doesn't match the product's quantity step requirements.
InsufficientStockNoReplacement = 5The requested quantity exceeds available stock and no replacement product is available.
InsufficientStockWithReplacement = 4The requested quantity exceeds available stock, but a replacement product is available.
MasterProductRequiresVariant = 6The product is a master product that requires selecting a specific variant.
None = 0No error occurred.
OutOfStockNoReplacement = 3The product is completely out of stock and no replacement product is available.
OutOfStockWithReplacement = 2The product is completely out of stock and has a replacement product available.
ProductNotFound = 1The product was not found in the catalog.
QuantityBelowMinimum = 7The quantity provided is below the minimum required quantity for this product.