Table of Contents

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 = 8

The quantity provided is not allowed as it doesn't match the product's quantity step requirements.

InsufficientStockNoReplacement = 5

The requested quantity exceeds available stock and no replacement product is available.

InsufficientStockWithReplacement = 4

The requested quantity exceeds available stock, but a replacement product is available.

MasterProductRequiresVariant = 6

The product is a master product that requires selecting a specific variant.

None = 0

No error occurred.

OutOfStockNoReplacement = 3

The product is completely out of stock and no replacement product is available.

OutOfStockWithReplacement = 2

The product is completely out of stock and has a replacement product available.

ProductNotFound = 1

The product was not found in the catalog.

QuantityBelowMinimum = 7

The quantity provided is below the minimum required quantity for this product.

To top