Click or drag to resize
ECommerceContext Properties

The ECommerceContext type exposes the following members.

Properties
  NameDescription
Public propertyColumnNames
Available column names.
(Inherited from AbstractDataContainerParentObjectType.)
Public propertyStatic memberCurrentCurrency
Current currency.
Public propertyStatic memberCurrentCustomer
Customer from current shopping cart.
Public propertyStatic memberCurrentCustomerCountry
Current customer country.
Public propertyStatic memberCurrentCustomerState
Current customer state.
Public propertyStatic memberCurrentManufacturer
Current manufacturer object according the URL parameter of the current request. It is available when the request contains parameters "manufacturerId" or "manufacturerName" with valid value of the manufacturer.
Public propertyStatic memberCurrentProduct
Current product.
Public propertyStatic memberCurrentProductDepartment
Current product department.
Public propertyStatic memberCurrentProductInternalStatus
Current product internal status.
Public propertyStatic memberCurrentProductPublicStatus
Current product public status.
Public propertyStatic memberCurrentProductSupplier
Current product supplier.
Public propertyStatic memberCurrentShoppingCart

Gets or sets the current shopping cart. The cart is retrieved using the GetCurrentShoppingCart method while setting the cart is done by SetCurrentShoppingCart(ShoppingCartInfo) method.

The property is cached per web request and is available only within the context of a web request. The underlying services can be used directly when caching is not required.

Public propertyIsDefault
Returns true if the context is the default request context
(Inherited from ContextContainerTParent.)
Public propertyStatic memberIsExchangeRateFromGlobalMainCurrencyMissing
Indicates if exchange rate from global main currency is missing in the last valid exchange table. Returns false if site uses global currencies or global exchange rates or code of site main currency is the same as code of global main currency.
Public propertyItem
Gets the value of particular property
(Inherited from AbstractHierarchicalObjectTObject.)
Public propertyKey
Unique container key
(Inherited from ContextContainerTParent.)
Public propertyStatic memberMoreCurrenciesUsedOnSite
Returns true, if more than one currency is used and enabled on current site, otherwise false.
Public propertyStatic memberOnlyOnePaymentOptionAvailableOnSite
Returns true, if there is only one payment option available on current site, otherwise false.
Public propertyStatic memberOnlyOneShippingOptionAvailableOnSite
Returns true, if there is only one shipping option available on current site, otherwise false.
Public propertyProperties
Properties available through the context.
(Inherited from AbstractHierarchicalObjectTObject.)
Protected propertyPropertyList
Used property list
(Inherited from AbstractHierarchicalObjectTObject.)
Protected propertyRegisteredColumns
Registered Columns
(Inherited from AbstractSimpleDataContainerTObject.)
Protected propertyRegisteredColumnsObject
Registered Columns object
(Inherited from AbstractSimpleDataContainerTObject.)
Protected propertyRegisteredProperties
Registered properties
(Inherited from AbstractHierarchicalObjectTObject.)
Protected propertyRegisteredPropertiesObject
Registered properties object
(Inherited from AbstractHierarchicalObjectTObject.)
Protected propertyUseLocalColumns
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainerTObject.)
Protected propertyUseLocalProperties
If true, the object uses local properties
(Inherited from AbstractHierarchicalObjectTObject.)
Top
See Also