Class WebStoreConfig

This class is used to hold all of the configuration settings for the Web Store. These settings are persisted in web.config. All the core functionality for this class is provided through the wwAppConfiguration class.

In ASP.Net page code you can simply use:

string Company = App.Configuration.CompanyName;

or in ASP.Net pages with a full Namespace reference:

<%=  Westwind.WebStore.App.Configuration.StoreName %>

Namespace: Westwind.WebStore
Inherits: wwAppConfiguration

Class Members

MemberDescription

CCHostUrl

The Url or Servername used for Credit Card Processing.

CCMerchantId

The MerchantId or Store ID

CCMerchantPassword

The password for the merchant provider if required.

ccProcessCardsOnline

Determines whether Credit Cards are processed online.

CCProcessor

Specifies the Credit Card Processor that is to be used.

CCReferingOrderUrl

Refering URL - some services require that this is provided.

CompanyName

The name of the company. Used in some places on the site by default.

ConnectionString

The Sql Server Connection string using the SqlClient object.=

ConnectType

The type of backend database used. This is used by the business objects. Only 0 is valid...

DebugMode

Determines how errors are displayed:

ErrorLogFile

The name of the file used for logging XML based Errors. Does not apply when logging to SQL Server.

ItemFormListPageCount

Number of items per page displayed. Should be adjusted for ItemFormListType.

ItemFormListType

Item List Type (0 - Default, 1 - Form Interface, 2 - Abstract List)

LogErrors

Determines whether requests are logged.

MailAdminSenderEmail

Admin email return email address

MailAdminSenderName

Admin email sender display name.

MailCCList

An optional CC list of email addresses that are also notified when an order is placed. List can be comma delimited.

MailPassword

Optional password to log in to the mail server. Required only if the mail server doesn't let you relay.

MailSenderEmail

The return email address used for sending confirmation emails.

MailSenderName

The display email name when sending confirmation emails.

MailServer

Mail Server used to send confirmation and administrative emails

MailUsername

Optional username to log in to the mail server. Required only if the mail server doesn't let you relay.

SendAdminEmail

Determines whether admin emails are sent. Generally left off during development...

StoreBaseUrl

The full Url path (without the home page) to the base of the store.

StoreBaseVirtual

The full virtual path (without the home page) to the base of the store.
This is basically the Url minus the server name.

StoreName

The name of the store. Used in a few places as descriptions for headers etc.

TaxRate

If your state requires you to collect sales or excise tax put the rate here. Use decimal percentages (0.055) for 5.5 percent for example)

TaxState

Your State where you need to collect sales tax. If an order is placed from this state the TaxRate is applied to subtotal.

UseSecureOrderLink

Determines whether the link to 'Place Order' is an HTTPS link. If set to true an SSL is required.

See also:

Class wwAppConfiguration

© West Wind Technologies, 1996-2018 • Updated: 12/28/03
Comment or report problem with topic