ECommerceContext Properties |
The ECommerceContext type exposes the following members.
Name | Description | |
---|---|---|
ColumnNames |
Available column names.
(Inherited from AbstractDataContainerParentObjectType.) | |
CurrentCurrency |
Current currency.
| |
CurrentCustomer |
Customer from current shopping cart.
| |
CurrentCustomerCountry |
Current customer country.
| |
CurrentCustomerState |
Current customer state.
| |
CurrentManufacturer |
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.
| |
CurrentProduct |
Current product.
| |
CurrentProductDepartment |
Current product department.
| |
CurrentProductInternalStatus |
Current product internal status.
| |
CurrentProductPublicStatus |
Current product public status.
| |
CurrentProductSupplier |
Current product supplier.
| |
CurrentShoppingCart | 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. | |
IsDefault |
Returns true if the context is the default request context
(Inherited from ContextContainerTParent.) | |
IsExchangeRateFromGlobalMainCurrencyMissing |
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.
| |
Item |
Gets the value of particular property
(Inherited from AbstractHierarchicalObjectTObject.) | |
Key |
Unique container key
(Inherited from ContextContainerTParent.) | |
MoreCurrenciesUsedOnSite |
Returns true, if more than one currency is used and enabled on current site, otherwise false.
| |
OnlyOnePaymentOptionAvailableOnSite |
Returns true, if there is only one payment option available on current site, otherwise false.
| |
OnlyOneShippingOptionAvailableOnSite |
Returns true, if there is only one shipping option available on current site, otherwise false.
| |
Properties |
Properties available through the context.
(Inherited from AbstractHierarchicalObjectTObject.) | |
PropertyList |
Used property list
(Inherited from AbstractHierarchicalObjectTObject.) | |
RegisteredColumns |
Registered Columns
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisteredColumnsObject |
Registered Columns object
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisteredProperties |
Registered properties
(Inherited from AbstractHierarchicalObjectTObject.) | |
RegisteredPropertiesObject |
Registered properties object
(Inherited from AbstractHierarchicalObjectTObject.) | |
UseLocalColumns |
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainerTObject.) | |
UseLocalProperties |
If true, the object uses local properties
(Inherited from AbstractHierarchicalObjectTObject.) |