Previous Docs Version

The documentation you are viewing is for a previous version of the Vendr product. Click here to jump to the current stable version.

Constants

The system defined constant properties available in Vendr, the eCommerce solution for Umbraco v8+

Vendr.Core

Constants.System.ProductName

Type Value Description
string
"Vendr"
The Vendr product name

Constants.Properties.StorePropertyAlias

Type Value Description
string
"store"
The expected alias of the Store property editor for the site

Constants.Properties.Customer.FirstNamePropertyAlias

Type Value Description
string
"firstName"
The expected alias of the customer first name Order property

Constants.Properties.Customer.LastNamePropertyAlias

Type Value Description
string
"lastName"
The expected alias of the customer last name Order property

Constants.Properties.Customer.EmailPropertyAlias

Type Value Description
string
"email"
The expected alias of the customer email Order property

Constants.Properties.Product.MasterRelationPropertyAlias

Type Value Description
string
"masterRelation"
The expected alias of content picker property that acts as a relation to a master product where additional product information can be retrieved from

Constants.Properties.Product.SkuPropertyAlias

Type Value Description
string
"sku"
The expected alias of the Product SKU property

Constants.Properties.Product.PricePropertyAlias

Type Value Description
string
"price"
The expected alias of the Product Price property using a Price property editor

Constants.Properties.Product.StockPropertyAlias

Type Value Description
string
"stock"
The expected alias of the Product Stock property using a Stock property editor

Constants.Properties.Product.NamePropertyAlias

Type Value Description
string
"productName"
The expected alias of a Product Name property that can override the Product node Name

Constants.Properties.Product.TaxClassPropertyAlias

Type Value Description
string
"taxClass"
The expected alias of a Product Tax Class property using a Tax Class picker property editor

Constants.Properties.Product.VariantsPropertyAlias

Type Value Description
string
"variants"
The expected alias of a Product Variants property using a Variants property editor

Constants.Cache.CacheKeys.Stores

Type Value Description
string
"vendrStores"
The Stores cache key used by the Stores caching layer

Constants.Cache.CacheKeys.Countries

Type Value Description
string
"vendrCountries"
The Countries cache key used by the Countries caching layer

Constants.Cache.CacheKeys.Regions

Type Value Description
string
"vendrRegions"
The Regions cache key used by the Regions caching layer

Constants.Cache.CacheKeys.Currencies

Type Value Description
string
"vendrCurrencies"
The Currencies cache key used by the Currencies caching layer

Constants.Cache.CacheKeys.EmailTemplates

Type Value Description
string
"vendrEmailTemplates"
The Email Templates cache key used by the Email Templates caching layer

Constants.Cache.CacheKeys.PaymentMethods

Type Value Description
string
"vendrPaymentMethods"
The Payment Methods cache key used by the Payment Methods caching layer

Constants.Cache.CacheKeys.ShippingMethods

Type Value Description
string
"vendrShippingMethods"
The Shipping Methods cache key used by the Shipping Methods caching layer

Constants.Cache.CacheKeys.TaxClasses

Type Value Description
string
"vendrTaxClasses"
The Tax Classes cache key used by the Tax Classes caching layer

Constants.Cache.CacheKeys.OrderStatuses

Type Value Description
string
"vendrOrderStatuses"
The Order Statuses cache key used by the Order Statuses caching layer

Constants.Cache.CacheKeys.Orders

Type Value Description
string
"vendrOrders"
The Orders cache key used by the Orders caching layer

Constants.Cache.CacheKeys.FrozenPrices

Type Value Description
string
"vendrFrozenPrices"
The Frozen Prices cache key used by the Frozen Prices caching layer

Constants.Cache.CacheKeys.Discounts

Type Value Description
string
"vendrDiscounts"
The Discounts cache key used by the Discounts caching layer

Vendr.Web

Constants.Sections.Commerce

Type Value Description
string
"commerce"
The alias of the Commerce section created by Vendr

Edit this page on GitHub

Site + logo design © 2024 Outfield Digital Ltd. Content contributions licensed under MIT.
Vendr® is a Registered Trademark of Outfield Digital Ltd.