CustomerMasterAccountControl

CustomerMasterAccountControl lets front-end administrators change their associated customer. Confirming a customer switch signs out the shopper’s other active sessions.

CustomerMasterAccountControl customer selector

CustomerMasterAccountControl confirmation message

Configurable properties

Property Default Valid values or format Effect
ButtonHeight
String
Not specified   Sets the customer-switch button height.
ButtonImage
String
Not specified   Sets the customer-switch button image.
ButtonText
String
Not specified   Sets the customer-switch button text.
ButtonWidth
String
Not specified   Sets the customer-switch button width.
ConfirmMessage
String
Not specified   Sets the customer-switch confirmation message.
DisplayDropDownList
Boolean
Not specified true, false Controls customer-selector display.
DisplayLabel
Boolean
Not specified true, false Controls customer-selector label display.
LabelText
String
Not specified   Sets the customer-selector label text.
TimeoutMessage
String
Not specified   Sets the message for a session-timeout failure.
TimeoutRedirectPageURL
String
Not specified   Sets the redirect destination after session timeout.

SitePages.config example

The following example loads CustomerMasterAccountControl.ascx and applies the documented literal defaults. The following properties are omitted because they do not have documented literal defaults: ButtonHeight, ButtonImage, ButtonText, ButtonWidth, ConfirmMessage, DisplayDropDownList, DisplayLabel, LabelText, TimeoutMessage, TimeoutRedirectPageURL.

<Control src="CustomerMasterAccountControl.ascx" />

Add this <Control> element to the appropriate page placeholder as described in The SitePages.config File.

Inherited properties

CustomerMasterAccountControl inherits shared conditions from CyberStoreBaseControl.


This site uses Just the Docs, a documentation theme for Jekyll.