• ShoppingCartItem

ShoppingCartItem

Namespace: Middleware.ShoppingCart

Assembly: Middleware

Provides details shopping cart item data.

Constructors

#ctor Default constructor
#ctor(Int32,Decimal,Decimal,String,String,String,String[],Boolean,Boolean,String) Constructor containing detailed items information.
#ctor(Int32,Decimal,Decimal,Decimal,String,String,String,String[],Boolean,Int32,String,Boolean,String) Constructor containing all detailed item information.

Properties

Id Unique id of the shopping cart item.
ItemCount Number of items.
ItemCost Cost of the item.
TaxRate Rate of tax applied to the item.
Name Name of the item.
Description Description of the item.
SKU Item SKU
Images Images for the item
IsDownload Indicates that the item is downloadable or not.
Weight Weight of item in grams.
CustomerReference Customer reference for the item in the cart.
CanBackOrder Indicates that the item can be backordered.
Size Size or dimensions of the item.
StockAvailability Availability of stock for the item in the shopping cart.

Methods

UpdateCount(Int32) Update the count of the individual item by adding more.
ResetCount(Int32) Resets the total count to a new value
SetCurrentStockLevel(UInt32) Sets the stock availability for an item within the shopping cart.

In This Document