ECommerceSettings Class |
Namespace: CMS.Ecommerce
public static class ECommerceSettings
The ECommerceSettings type exposes the following members.
Name | Description | |
---|---|---|
AddToCartConversionName |
Name of the conversion that will be logged when a user adds a product to the shopping cart.
| |
AddToCartConversionValue |
Number that will be recorded along with the specified conversion when a product is added to the shopping cart.
| |
AllowAnonymousCustomers |
Indicates if customers need to register in your site so that they can make the purchase.
| |
AllowCombineSiteAndGlobal |
Indicates if ecommerce object of given type can be combined site and global within one site.
False means that site can use only global or only site records.
| |
AllowGlobalDepartments |
Indicates if global departments are allowed.
| |
AllowGlobalDiscountCoupons |
Indicates if global discount coupons are allowed.
| |
AllowGlobalManufacturers |
Indicates if global manufacturers are allowed.
| |
AllowGlobalObjects |
Indicates if global objects of given type are allowed/used on the site specified by site name.
| |
AllowGlobalPaymentMethods |
Indicates if global payment methods are allowed.
| |
AllowGlobalProductOptions |
Indicates if global product options are allowed.
| |
AllowGlobalProducts |
Indicates if global products are allowed.
| |
AllowGlobalShippingOptions | Obsolete.
Indicates if global shipping options are allowed.
| |
AllowGlobalSuppliers |
Indicates if global suppliers are allowed.
| |
AllowProductsWithoutDocuments |
Indicates whether it is possible to create products without document data.
| |
ApplyTaxesBasedOn |
Indicates whether the tax is applied based on shipping or billing address.
| |
AutomaticCustomerRegistration |
Indicates if customer is automatically registered after checkout process and email is send.
| |
AutomaticRegistrationEmailTemplateCodeName |
Returns email template code name for automatic customer registration email notification.
| |
DefaultCountryName |
Gets default country, choose your country or country where you sell the most. All taxes are applied based on their values in the default country unless the customer specifies their country or state during the checkout process.
| |
DefaultProductImageURL |
Gets the URL of the default product image which is used when image of the product is not specified.
| |
DisplayPriceIncludingDiscounts |
Indicates if product prices on the live site are displayed including discounts.
This takes effect only to prices which are displayed using GetSKUFormattedPrice() method.
| |
DisplayPriceIncludingTaxes |
Indicates if product prices on the live site are displayed including taxes.
This takes effect only to prices which are displayed using GetSKUFormattedPrice() method.
| |
DisplayProductsInSectionsTree |
Indicates if products will be displayed in products sections tree. This setting has no effect when not using sections tree.
| |
EProductsReminder |
Gets number of days before e-product expiration when reminder is to be sent.
| |
GetApplyTaxesBasedOnString |
Converts ApplyTaxBasedOnEnum to string value.
| |
GetGlobalKeyForType |
Returns settings key name allowing global object of given object type.
| |
GetProductsTreeModeString |
Converts ProductsTreeModeEnum to string value. Default value is None.
| |
CheapestVariantAdvertising |
Indicates if the system updates the product price, visible in the product listing, automatically with the price of the cheapest product variant.
| |
CheckoutProcess |
Gets the checkout process used in the store shopping cart.
| |
InvoiceNumberPattern |
Pattern (macro expression) for generating of invoice number.
| |
InvoiceTemplate |
Gets HTML template used to generate an invoice (or receipt) after an order is finished and saved.
| |
MassUnit |
Gets the mass unit code used by the system to represent weights.
| |
NewProductStatus |
Product public status which represents the status of the product which is evaluated as a new product
(according to the 'Products are new for' setting and 'In store from' product property).
| |
OrderConversionName |
Name of the conversion that will be logged when a user completes an order.
| |
OrderConversionValue |
Number that will be recorded along with the Order conversion when it is logged.
| |
ProductsAreNewFor |
Number of days for which created products are marked as 'new products' in the store.
Days are counted from the product 'In store from' property.
| |
ProductsStartingPath |
Path within the content tree where sub-tree of product sections starts.
| |
ProductsTree |
Returns the mode of displaying tree in the products administration UI.
| |
RedirectToShoppingCart |
Indicates if user will be redirected to shopping cart after adding product to cart.
| |
RegistrationConversionName |
Name of the conversion that will be logged when a user successfully registers on the website through the checkout process.
| |
RegistrationConversionValue |
Number that will be recorded along with the Registration conversion when it is logged.
| |
RelatedProductsRelationshipName |
Relationship name to be used for related products.
| |
RequireCompanyInfo |
Indicates if it is compulsory to provide company account information in the check out process.
| |
SendEmailsFrom |
Gets an e-mail address the e-commerce notification e-mails are sent from.
| |
SendEmailsTo |
Gets site-related e-mail address (e.g. merchant's e-mail address) the e-commerce notification e-mails are sent to.
| |
SendOrderNotification |
Indicates if e-mail notifications are sent after an order is finished and saved.
| |
SendPaymentNotification |
Indicates if e-mail notifications are sent after an order payment is completed.
| |
ShoppingCartURL |
Gets the URL of the shopping cart page.
| |
ShowOrganizationID |
Indicates if organization ID field should be displayed.
| |
ShowTaxRegistrationID |
Indicates if organization ID field (e.g. VAT registration ID) should be displayed.
| |
UseCustomerCultureForEmails |
Indicates if emails to customer will be sent in shopping cart culture.
| |
UseExtraCompanyAddress |
Indicates if the option of providing company address is available in the check out process.
| |
UseGlobalCredit |
Indicates if global credit is used.
| |
UseGlobalCurrencies |
Indicates if global currencies are used.
| |
UseGlobalExchangeRates |
Indicates if global exchange rates are used.
| |
UseGlobalInternalStatus |
Indicates if global internal statuses are used.
| |
UseGlobalInvoice |
Indicates if global invoice is used.
| |
UseGlobalOrderStatus |
Indicates if global order statuses are used.
| |
UseGlobalPublicStatus |
Indicates if global public statuses are used.
| |
UseGlobalTaxClasses |
Indicates if global tax classes are used.
| |
WeightFormattingString |
Gets the format used to display product weight. Use {0} expression to insert the weight into the formatting string.
| |
WishListURL |
Gets the URL of the wish list page.
|
Name | Description | |
---|---|---|
ADD_TO_CART_CONVERSION_NAME |
Represents CMSStoreAddToShoppingCartConversionName e-commerce setting key name.
| |
ADD_TO_CART_CONVERSION_VALUE |
Represents CMSStoreAddToShoppingCartConversionValue e-commerce setting key name.
| |
ALLOW_ANONYMOUS_CUSTOMERS |
Represents CMSStoreAllowAnonymousCustomers e-commerce setting key name.
| |
ALLOW_GLOBAL_DEPARTMENTS |
Represents CMSStoreAllowGlobalDepartments e-commerce setting key name.
| |
ALLOW_GLOBAL_DISCOUNT_COUPONS |
Represents CMSStoreAllowGlobalDiscountCoupons e-commerce setting key name.
| |
ALLOW_GLOBAL_MANUFACTURERS |
Represents CMSStoreAllowGlobalManufacturers e-commerce setting key name.
| |
ALLOW_GLOBAL_PAYMENT_METHODS |
Represents CMSStoreAllowGlobalPaymentMethods e-commerce setting key name.
| |
ALLOW_GLOBAL_PRODUCT_OPTIONS |
Represents CMSStoreAllowGlobalProductOptions e-commerce setting key name.
| |
ALLOW_GLOBAL_PRODUCTS |
Represents CMSStoreAllowGlobalProducts e-commerce setting key name.
| |
ALLOW_GLOBAL_SHIPPING_OPTIONS | Obsolete.
Represents CMSStoreAllowGlobalShippingOptions e-commerce setting key name.
| |
ALLOW_GLOBAL_SUPPLIERS |
Represents CMSStoreAllowGlobalSuppliers e-commerce setting key name.
| |
ALLOW_PRODUCTS_WITHOUT_DOCUMENTS |
Represents CMSStoreAllowProductsWithoutDocuments e-commerce setting key name.
| |
APPLY_TAXES_BASED_ON |
Represents CMSStoreApplyTaxBasedOn e-commerce setting key name.
| |
AUTOMATIC_REGISTRATION_CUSTOMER |
Represents CMSStoreAutoRegisterCustomer e-commerce setting key name.
| |
AUTOMATIC_REGISTRATION_EMAIL_TEMPLATE |
Represents CMSStoreAutoRegistrationEmailTemplate e-commerce setting key name.
| |
DEFAULT_COUNTRY_NAME |
Represents CMSStoreDefaultCountryName e-commerce setting key name.
| |
DEFAULT_PRODUCT_IMAGE_URL |
Represents CMSDefaultProductImageURL e-commerce setting key name.
| |
DISPLAY_PRICE_INCLUDING_DISCOUNTS |
Represents CMSStoreDisplayPriceIncludingDiscounts e-commerce setting key name.
| |
DISPLAY_PRICE_INCLUDING_TAXES |
Represents CMSStoreDisplayPriceIncludingTaxes e-commerce setting key name.
| |
DISPLAY_PRODUCTS_IN_SECTIONS_TREE |
Represents CMSStoreDisplayProductsInSectionsTree e-commerce setting key name.
| |
EPRODUCTS_REMINDER |
Represents CMSStoreEProductsReminder e-commerce setting key name.
| |
CHEAPEST_VARIANT_ADVERTISING |
Represents CMSCheapestVariantAdvertising e-commerce setting key name.
| |
CHECKOUT_PROCESS |
Represents CMSStoreCheckoutProcess e-commerce setting key name.
| |
INVOICE_NUMBER_PATTERN |
Pattern (macro expression) used to generate an invoice number.
| |
INVOICE_TEMPLATE |
Represents CMSStoreInvoiceTemplate e-commerce setting key name.
| |
MASS_UNIT |
Represents CMSStoreMassUnit e-commerce setting key name.
| |
NEW_PRODUCT_STATUS |
Represents CMSStoreNewProductStatus e-commerce setting key name.
| |
ORDER_CONVERSION_NAME |
Represents CMSStoreOrderConversionName e-commerce setting key name.
| |
ORDER_CONVERSION_VALUE |
Represents CMSStoreOrderConversionValue e-commerce setting key name.
| |
PRODUCTS_ARE_NEW_FOR |
Represents CMSStoreProductsAreNewFor e-commerce setting key name.
| |
PRODUCTS_STARTING_PATH |
Represents CMSStoreProductsStartingPath e-commerce setting key name.
| |
PRODUCTS_TREE |
Represents CMSStoreProductsTree e-commerce setting key name.
| |
REDIRECT_TO_SHOPPINGCART |
Represents CMSStoreRedirectToShoppingCart e-commerce setting key name.
| |
REGISTRATION_CONVERSION_NAME |
Represents CMSStoreRegistrationConversionName e-commerce setting key name.
| |
REGISTRATION_CONVERSION_VALUE |
Represents CMSStoreRegistrationConversionValue e-commerce setting key name.
| |
RELATED_PRODUCTS_RELATIONSHIP_NAME |
Represents CMSStoreRelatedProductsRelationshipName e-commerce setting key name.
| |
REQUIRE_COMPANYINFO |
Represents CMSStoreRequireCompanyInfo e-commerce setting key name.
| |
SEND_EMAILS_FROM |
Represents CMSStoreSendEmailsFrom e-commerce setting key name.
| |
SEND_EMAILS_TO |
Represents CMSStoreSendEmailsTo e-commerce setting key name.
| |
SEND_ORDER_NOTIFICATION |
Represents CMSStoreSendOrderNotification e-commerce setting key name.
| |
SEND_PAYMENT_NOTIFICATION |
Represents CMSStoreSendPaymentNotification e-commerce setting key name.
| |
SHOPPINGCART_URL |
Represents CMSShoppingCartURL e-commerce setting key name.
| |
SHOW_ORGANIZATION_ID |
Represents CMSStoreShowOrganizationID e-commerce setting key name.
| |
SHOW_TAX_REGISTRATION_ID |
Represents CMSStoreShowTaxRegistrationID e-commerce setting key name.
| |
USE_CUSTOMER_CULTURE_FOR_EMAILS |
Represents CMSStoreUseCustomerCultureForEmails e-commerce settings key name.
| |
USE_EXTRA_COMPANYADDRESS |
Represents CMSStoreUseExtraCompanyAddress e-commerce setting key name.
| |
USE_GLOBAL_CREDIT |
Represents CMSStoreUseGlobalCredit e-commerce setting key name.
| |
USE_GLOBAL_CURRENCIES |
Represents CMSStoreUseGlobalCurrencies e-commerce setting key name.
| |
USE_GLOBAL_EXCHANGE_RATES |
Represents CMSStoreUseGlobalExchangeRates e-commerce setting key name.
| |
USE_GLOBAL_INTERNAL_STATUS |
Represents CMSStoreUseGlobalInternalStatus e-commerce setting key name.
| |
USE_GLOBAL_INVOICE |
Represents CMSStoreUseGlobalInvoice e-commerce setting key name.
| |
USE_GLOBAL_ORDER_STATUS |
Represents CMSStoreUseGlobalOrderStatus e-commerce setting key name.
| |
USE_GLOBAL_PUBLIC_STATUS |
Represents CMSStoreUseGlobalPublicStatus e-commerce setting key name.
| |
USE_GLOBAL_TAX_CLASSES |
Represents CMSStoreUseGlobalTaxClasses e-commerce setting key name.
| |
WEIGHT_FORMATTING_STRING |
Represents CMSStoreWeightFormattingString e-commerce setting key name.
| |
WISHLIST_URL |
Represents CMSWishlistURL e-commerce setting key name.
|
Name | Description | |
---|---|---|
EnableOrderItemEditing |
If true, order item parameters, such as order item name and order item unit price, can be modified when editing an existing order.
Value is taken from webconfig key CMSEnableOrderItemEditing. Default value is false.
| |
ShoppingCartExpirationPeriod |
Number of days before the shopping cart is expired. Value is taken from webconfig key CMSShoppingCartExpirationPeriod.
Default value is 30 days.
| |
UseMetaFileForProductImage |
Indicates if meta file should be used for product image. Value is taken from webconfig key CMSUseMetaFileForProductImage.
Default value is true.
|