ShoppingCart Class |
Namespace: CMS.Ecommerce.Web.UI
public class ShoppingCart : CMSAdminControl
The ShoppingCart type exposes the following members.
Name | Description | |
---|---|---|
ShoppingCart |
Name | Description | |
---|---|---|
DEFAULT_CHECKOUT_PROCESS |
Default checkout process XML definition.
| |
DEFAULT_REQUIRED_FIELDS_MARK |
Default required field marker. Contains html code with styled asterisk.
| |
mAddToShoppingCartConversionValue |
Conversion track value used after added to shopping cart.
| |
mAddToShoppingCartTrackConversionName |
Conversion track name used after added to shopping cart.
| |
mAssignToRoles |
Roles the new user should be assign to after his registration.
| |
mAssignToSites |
Sites the new user should be assign to after his registration.
| |
mCurrentStepControl |
Shopping cart current step control.
| |
mEnablePasswordRetrieval |
Indicates whether password retrieval is enabled.
| |
mEnableProductPriceDetail |
Indicates whether product price detail link is displayd.
| |
mCheckoutProcess |
Checkout process.
| |
mCheckoutProcessSteps |
Checkout process steps.
| |
mCheckoutProcessType |
Type of the checkout process.
| |
mImageFolderPath |
Relative path to the folder with shopping cart step images.
| |
mImageStepSeparator |
HTML code of the image step separator.
| |
mIsControlLoaded |
Indicates if current step control is loaded.
| |
mIsCurrentStepPostBack |
Indicates whether current step control is loaded after postback.
| |
mLocalShoppingCart |
Local shopping cart object.
| |
mNextStepIndex |
Next step index.
| |
mOrderConversionValue |
Conversion track value used after new order is saved.
| |
mOrderTrackConversionName |
Conversion track name used after new order is saved.
| |
mPaymentGatewayProvider |
Payment gateway provider.
| |
mPreviousStepIndex |
Previsou step index.
| |
mRedirectAfterPurchase |
Redirect after purchase.
| |
mRegistrationConversionValue |
Conversion track value used after successful registration.
| |
mRegistrationTrackConversionName |
Conversion track name used after successful registration.
| |
mRequiredFieldsMark |
HTML code which is attached as postfix to the shopping cart step form required fields.
| |
mSendNewRegNotificationToAddress |
Email address the new registration notification should be sent to.
| |
mShoppingCartContainer |
Shopping cart container.
| |
mShoppingCartObj |
Shopping cart object.
|
Name | Description | |
---|---|---|
AssignToRoles |
Roles the new user should be assign to after his registration.
| |
AssignToSites |
Sites the new user should be assign to after his registration.
| |
ButtonBack |
Button 'Back' - you need to override this property to get access to shopping cart 'Back' button in shopping cart steps.
| |
ButtonNext |
Button 'Next' - you need to override this property to get access to shopping cart 'Next' button in shopping cart steps.
| |
ComponentName |
Component name
(Inherited from AbstractUserControl.) | |
ControlContext |
Control context.
(Inherited from CMSUserControl.) | |
ControlGUID |
Unique ID of the control within the given request.
(Inherited from CMSUserControl.) | |
CurrentContactID |
Current contact ID. Shared across shopping cart steps.
| |
CurrentDocument |
Current document
(Inherited from AbstractUserControl.) | |
CurrentPageInfo |
Current page info
(Inherited from AbstractUserControl.) | |
CurrentResolver |
Control's resolver
(Inherited from CMSUserControl.) | |
CurrentSite |
Current site
(Inherited from AbstractUserControl.) | |
CurrentStepControl |
Shopping cart current step control.
| |
CurrentStepIndex |
Shopping cart current step index.
| |
CurrentUser |
Current user
(Inherited from AbstractUserControl.) | |
DisplayMode |
Gets or sets display mode of the control.
(Inherited from CMSUserControl.) | |
DocumentManager |
Document manager control
(Inherited from AbstractUserControl.) | |
EditedObject |
Control's edited object
(Inherited from CMSUserControl.) | |
EnablePasswordRetrieval |
Indicates whether password retrieval is enabled.
| |
EnableProductPriceDetail |
Indicates whether product price detail link is displayed.
| |
ErrorMessage |
Error message.
(Inherited from CMSAdminControl.) | |
HeaderActions |
Header actions control
(Inherited from AbstractUserControl.) | |
CheckoutProcess |
Checkout process.
| |
CheckoutProcessSteps |
Checkout process steps.
| |
CheckoutProcessType |
Checkout process type.
| |
ImageFolderPath |
Relative path to the folder with shopping cart step images.
| |
ImageStepSeparator |
HTML code of the image step separator.
| |
InfoMessage |
Information message.
(Inherited from CMSAdminControl.) | |
IsCMSDesk |
Determines whether the current control lies on the page that is currently located under the CMS Desk.
(Inherited from CMSUserControl.) | |
IsCurrentStepPostBack |
Indicates whether current step control is loaded after postback.
| |
IsInternalOrder |
Indicates whether it is an internal order made from administration.
| |
IsLiveSite |
Indicates if control is used on live site.
(Inherited from AbstractUserControl.) | |
Item |
Gets or sets the value of the column.
(Inherited from InlineUserControl.) | |
LocalShoppingCart |
Local shopping cart object.
| |
MessagesPlaceHolder |
Placeholder for messages
(Inherited from AbstractUserControl.) | |
NextStepIndex |
Next step index. (Set it if you want to load another step with index different from CurrentStepIndex + 1).
| |
OrderTrackConversionName |
Conversion track name used after new order is saved.
| |
Parameter |
Control parameter.
(Inherited from InlineUserControl.) | |
PaymentGatewayProvider |
Payment gateway provider instance.
| |
PreviousPageUrl |
Page url, we should return to after "Continue shopping" button is clicked.
| |
PreviousStepIndex |
Previous step index. (Set it if you want to load another step with index different from CurrentStepIndex - 1).
| |
Properties |
Control properties.
(Inherited from InlineUserControl.) | |
RedirectAfterPurchase |
Redirect after purchase.
| |
RedirectToAccessDeniedPage |
Redirect to access denied if the access is not allowed.
(Inherited from CMSAdminControl.) | |
RegistrationTrackConversionName |
Conversion track name used after successful registration.
| |
RelativePath |
Page relative path.
(Inherited from CMSUserControl.) | |
RequiredFieldsMark |
HTML code which is attached as postfix to the shopping cart step form required fields.
| |
ResourcePrefix |
Prefix for the resource strings which are used for the localization by the control and its child controls.
(Inherited from AbstractUserControl.) | |
ResourcePrefixes |
List of cached resource prefixes for the parent hierarchy
(Inherited from AbstractUserControl.) | |
SendNewRegistrationNotificationToAddress |
Email address the new registration notification should be sent to.
| |
ShoppingCartContainer |
Shopping cart container.
| |
ShoppingCartInfoObj |
Shopping cart object.
| |
ShortID |
Short ID of the control.
(Inherited from AbstractUserControl.) | |
StopProcessing |
Indicates if the control should perform the operations.
(Inherited from AbstractUserControl.) | |
TypeName |
Returns the object type name.
(Inherited from CMSUserControl.) | |
UIContext |
Control's UI Context
(Inherited from CMSUserControl.) | |
UseCMSDeskAccessDeniedPage |
Gets or sets the value that indicates whether CMSDesk access denied page should be used.
(Inherited from CMSUserControl.) | |
UserInfo |
User info - returns shopping cart user, if not specified returns current user.
| |
UsesLocalMessagesPlaceHolder |
Indicates if control uses local messages placeholder
(Inherited from AbstractUserControl.) | |
ViewState |
ViewState - overridden for the Master page ViewState fix.
(Inherited from InlineUserControl.) |
Name | Description | |
---|---|---|
AccessDenied(String) |
Ensure access denied actions due to settings.
(Inherited from CMSAdminControl.) | |
AccessDenied(Int32, String) |
Ensure access denied actions due to settings.
(Inherited from CMSAdminControl.) | |
AccessDenied(String, String) |
Ensure access denied actions due to settings.
(Inherited from CMSAdminControl.) | |
AddConfirmation |
Adds confirmation text to existing message on the page.
(Inherited from AbstractUserControl.) | |
AddError |
Adds error text to existing message on the page.
(Inherited from AbstractUserControl.) | |
AddHeaderAction |
Adds specified action to the page header actions.
(Inherited from AbstractUserControl.) | |
AddInformation |
Adds information text to existing message on the page.
(Inherited from AbstractUserControl.) | |
AddMessage |
Adds message text to existing message on the page.
(Inherited from AbstractUserControl.) | |
AddWarning |
Adds warning text to existing message on the page.
(Inherited from AbstractUserControl.) | |
ButtonBackClickAction |
Standard action after the 'Back button' is clicked - Loads previous step.
| |
ButtonNextClickAction |
Standard action after the 'Next button' is clicked - 1. Validates current step, 2. Process current step information, 3. Loads next step.
| |
CleanUpShoppingCart |
Removes current shopping cart data from database and from session.
| |
ClearForm |
Clears control.
(Inherited from CMSAdminControl.) | |
EnsureControls |
Interface for control that is able to explicitly ensure its child controls
(Inherited from AbstractUserControl.) | |
Eval(String) |
Evaluates the given value
(Inherited from AbstractUserControl.) | |
Eval(String, Boolean) |
Evaluates the item data (safe version), with html encoding.
(Inherited from AbstractUserControl.) | |
EvalBool |
Evaluates the item data and converts it to the bool.
(Inherited from AbstractUserControl.) | |
EvalDateTime |
Evaluates the item data and converts it to the date time.
(Inherited from AbstractUserControl.) | |
EvalDouble |
Evaluates the item data and converts it to the integer.
(Inherited from AbstractUserControl.) | |
EvalGuid |
Evaluates the item data and converts it to the guid.
(Inherited from AbstractUserControl.) | |
EvalHTML |
Evaluates the item data and doesn't encode it. Method should be used for columns with html content.
(Inherited from AbstractUserControl.) | |
EvalHtmlAttribute |
Evaluates the item data, encodes it to be used in HTML attribute.
(Inherited from AbstractUserControl.) | |
EvalInteger |
Evaluates the item data and converts it to the integer.
(Inherited from AbstractUserControl.) | |
EvalJSString |
Evaluates the item data, encodes it to be used in javascript code and encapsulates it with "'".
(Inherited from AbstractUserControl.) | |
EvalText(String) |
Evaluates the item data and encodes it. Method should be used for columns with string nonhtml content.
(Inherited from AbstractUserControl.) | |
EvalText(String, Boolean) |
Evaluates the item data and encodes it. Method should be used for columns with string nonhtml content.
(Inherited from AbstractUserControl.) | |
GetAccessDeniedPageUrl |
Returns access denied page with dependence on current setting.
(Inherited from CMSUserControl.) | |
GetFlagIconUrl |
Returns resolved path to the flag image for the specified culture.
(Inherited from AbstractUserControl.) | |
GetImagePath |
Gets UI image relative path.
(Inherited from AbstractUserControl.) | |
GetImageUrl |
Gets UI image relative path.
(Inherited from AbstractUserControl.) | |
GetRedirectAfterPurchaseUrl |
Returns url the customer should be redirected to after purchase.
| |
GetShoppingCartStepControl(Int32) |
Returns initialized shopping cart step control.
| |
GetShoppingCartStepControl(String) |
Returns initialized shopping cart step control.
| |
GetString |
Returns the localized string of the control's hierarchically highest parent that has the ResourcePrefix property and its translation defined.
(Inherited from AbstractUserControl.) | |
GetTempValue |
Returns the value from the ShoppingCart viewstate.
| |
GetValue(String) |
Returns the value of the given property.
(Inherited from InlineUserControl.) | |
GetValueReturnType(String, ReturnType) |
Returns the value of the given property.
(Inherited from InlineUserControl.) | |
HasValue |
Returns true if the value of the given property is set.
(Inherited from InlineUserControl.) | |
CheckPermissions(String, String) |
Check permissions for specified resource and permission type, return false is user doesn't have permissions.
(Inherited from CMSAdminControl.) | |
CheckPermissions(String, String, Int32) |
Check permissions for specified resource and permission type, return false is user doesn't have permissions.
(Inherited from CMSAdminControl.) | |
CheckPermissions(String, String, String) |
Check permissions for specified resource and permission type, return false is user doesn't have permissions.
(Inherited from CMSAdminControl.) | |
LoadCurrentStep |
Loads current step - you need to override this method to load current step control.
| |
LoadCheckoutProcess |
Loads checkout process from external source.
| |
LoadStep(Int32) |
Loads step control with specified index and set current step index to control index.
| |
LoadStep(String) |
Loads step control with specified name and set current step index to control index.
| |
LoadStep(ShoppingCartStep) |
Loads specified shopping cart step control and set current step index to control index (step is included in current checkout process) or leave current step index as is (when loading external control which is not defined in current checkout process).
| |
LoadUserControl |
Loads the user control based on the given path
(Inherited from AbstractUserControl.) | |
LogAndShowError |
Logs the exception and
(Inherited from AbstractUserControl.) | |
OnContentLoaded |
Method that is called when the control content is loaded.
(Inherited from InlineUserControl.) | |
OnInit |
Init event handler.
(Inherited from AbstractUserControl.) | |
OnLoad |
OnLoad override, setup access denied page with dependence on current usage.
(Inherited from CMSUserControl.) | |
OnPreRender |
PreRender event handler.
(Inherited from AbstractUserControl.) | |
RaiseOnCheckPermissions(String, CMSAdminControl) |
Raises the OnCheckPermissions event, returns true when event was fired.
(Inherited from CMSAdminControl.) | |
RaiseOnCheckPermissions(String, String, CMSAdminControl) |
Raises the OnCheckPermissions event, returns true when event was fired.
(Inherited from CMSAdminControl.) | |
RaiseOnNotAllowed |
Raises the OnNotAllowed event.
(Inherited from CMSAdminControl.) | |
RaiseOrderCompletedEvent |
Raises order completed event - after the order is completed (all its data are saved in database).
| |
RaisePaymentCompletedEvent |
Raises payment completed event - after the order payments is completed.
| |
RaisePaymentSkippedEvent |
Raises payment skipped event - after the order payments is skipped.
| |
RedirectToAccessDenied(String) |
Redirects the user to Access denied page.
(Inherited from CMSUserControl.) | |
RedirectToAccessDenied(Int32, String) |
Redirects the user to Access denied page.
(Inherited from CMSUserControl.) | |
RedirectToAccessDenied(String, String) |
Redirects the user to Access denied page.
(Inherited from CMSUserControl.) | |
RedirectToUIElementAccessDenied |
Redirects the user to Access denied page.
(Inherited from CMSUserControl.) | |
ReleaseContext |
Releases the control context.
(Inherited from CMSUserControl.) | |
ReloadData |
Reloads control data without force reload.
(Inherited from CMSAdminControl.) | |
ReloadData(Boolean) |
Reloads control data.
(Inherited from CMSAdminControl.) | |
ReloadShoppingCartInfo |
Reloads shopping cart items and settings from database.
| |
Render |
Render event handler.
(Inherited from AbstractUserControl.) | |
ResolveUrl |
Resolves the given URL
(Inherited from AbstractUserControl.) | |
SetContext |
Sets the control context.
(Inherited from CMSUserControl.) | |
SetTempValue |
Sets the value to the ShoppingCart viewstate.
| |
SetValue |
Sets the property value of the control, setting the value affects only local property value.
(Inherited from InlineUserControl.) | |
ShowConfirmation |
Shows the general confirmation message.
(Inherited from AbstractUserControl.) | |
ShowError |
Shows the specified error message, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
ShowChangesSaved |
Shows the general changes saved message.
(Inherited from AbstractUserControl.) | |
ShowInformation |
Shows the given information on the page, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
ShowMessage(MessageTypeEnum, String, String, String, Boolean) |
Shows the specified message, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
ShowMessage(MessageTypeEnum, String, String, String, Boolean, Boolean) |
Shows the specified message, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
ShowWarning |
Shows the specified warning message, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
TrackActivityAllProductsRemovedFromShoppingCart |
Logs activity "product removed from shopping cart" for all items in shopping cart.
| |
TrackActivityProductAddedToShoppingCart(SKUInfo, Int32) |
Logs activity "product added to shopping cart".
| |
TrackActivityProductAddedToShoppingCart(Int32, String, Int32, String, String, Int32) | Obsolete.
Logs activity "product added to shopping cart".
| |
TrackActivityPurchase |
Logs activity "purchase".
| |
TrackActivityPurchasedProducts |
Logs activity "purchase" for all items.
| |
TrackViewState |
Tracks the view state.
(Inherited from InlineUserControl.) |
Name | Description | |
---|---|---|
CallHandled |
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page.
Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by ControlsExtensions.) |
Name | Description | |
---|---|---|
OnCheckPermissions |
On check permissions event.
(Inherited from CMSAdminControl.) | |
OnCheckPermissionsExtended |
On check permissions event.
(Inherited from CMSAdminControl.) | |
OnNotAllowed |
On not allowed event.
(Inherited from CMSAdminControl.) | |
OnOrderCompleted |
Fires after the order is completed - all its data are saved in database.
| |
OnPaymentCompleted |
Fires after the order payment completed.
| |
OnPaymentSkipped |
Fires after the order payment is skipped.
|