CyberStore Ecommerce 2023 Documentation
CheckOutConfirmOrder Class
Members 


Dovetail.Ecommerce.Controls Namespace : CheckOutConfirmOrder Class

 Step four of the checkout process.

Remarks

The CheckOutConfirmOrder control displays order information to a shopper and allows them to either confirm or cancel the order.

An example of the CheckOutConfirmOrder control in use is below:

 

Property Usage

By changing the values of the control's properties in the SitePages.config file for your Site, you can enable or disable certain behaviors, set certain defaults, alter aspects of the display or otherwise cusomtize your site's implementaion of the control.

The following describes properties pertaining to key functional areas of the control that can be configured to suit your needs.

You can personalize the Check Out Confirm Order by editing property values. One of these properties is the OrderRequestQuoteButtonDisplay property which gets or sets whether the "Convert to Quote" button should be displayed to the user depending on a given value. Another property is the OrderRequestQuoteButtonDisplayText which sets the text for the "Convert to Quote" button.

Properties Inherited from the Base CyberStoreBaseControl

Properties specific to the CyberStoreBaseControl can be listed in the following categories:

Override Properties

When the IgnoreControl property is set to true, all processing of a control is skipped, and the control's Visible property is set to false ensuring that it is not rendered in the resulting CyberStore page.

Contextual Properties

Contextual properties define specific details about the current instance of the control based on context. Context can be set by any number of factors including the log in state of the Shopper, the Site being visited, or the properties that have been established for a control.

The AttributesBag property is used internal to control processing and is the collection of attributes, or properties, and their values based on how the control is configured. The attributes in this property are set by processing the SitePages.config file as well as any specific declared property values in any registered sub controls. It allows for the passing down of all properties to a control and any registered sub controls.

The ComConfigUserData and Site_ID properties are read-only values made available to all CyberStore controls to aid in processing and establishing context about the Site and Shopper.

Sub Controls

The table below lists and describes sub controls used by the default CheckOutOrderDisplayControl.

Sub Control Description
CheckOutOrderDisplayControl Displays a summary of the information for an order.
Control Markup

The following is the markup for this control.

Developer's Note:

To create a custom version of the control, copy all of the code below into a file of the same name and place it into your Site's control folder (e.g., ../YourSiteFolder/Control). The CyberStore page engine will then override the default markup with your customized version.

 

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CheckOutConfirmOrder.ascx.cs"
    Inherits="Dovetail.Ecommerce.Controls.CheckOutConfirmOrder" %>
<@ Register TagPrefix="uc1" TagName="CheckOutOrderDisplayControl" Src="~/Control/CheckOutOrderDisplayControl.ascx" >
<asp:Label ID="messageLabel" runat="server" CssClass="InfoMessage"></asp:Label>
<dx:ASPxPanel ID="OrderConfirmPanel" runat="server" ClientIDMode="Static" DefaultButton="confirmorderButton">
    <PanelCollection>
        <dx:PanelContent>
<table class="CheckOutOrderSummaryTable" id="Table1" cellspacing="0" cellpadding="0"
    align="center" border="0">
    <tbody>
        <tr>
            <td align="center">
                <dx:ASPxLabel ID="lblError" runat="server" ClientIDMode="Static" ForeColor="Red" />
                <uc1:CheckOutOrderDisplayControl ID="CheckOutOrderDisplayControl1" runat="server">
                </uc1:CheckOutOrderDisplayControl>
                <dx:ASPxButton ID="confirmquoteButton" runat="server" CssClass="FormButton DT-Button" Text="Request Quote"
                        OnClick="confirmorderButton_OnClick" Native="true" AutoPostBack="false"/>&nbsp;

                <dx:ASPxButton ID="confirmorderButton" Text="Confirm Order" UseSubmitBehavior="true"
                        runat="server" CssClass="FormButton DT-Button" ClientIDMode="Static"
                        Native="true" ClientInstanceName="confirmorderButton"
                        OnClick="confirmorderButton_OnClick" AutoPostBack="false" />
                        &nbsp;
                <dx:ASPxButton ID="cancelorderButton" runat="server" CssClass="FormButton DT-Button" Text="Cancel"
                    Native="true" OnClick="cancelorderButton_Click" AutoPostBack="false" />
            </td>
        </tr>
    </tbody>
</table>
        </dx:PanelContent>
    </PanelCollection>
</dx:ASPxPanel> 
    
    
Inheritance Hierarchy

System.Object
   System.Web.UI.Control
      System.Web.UI.TemplateControl
         System.Web.UI.UserControl
            Dovetail.Ecommerce.ControlBases.CyberStoreBaseControl
               Dovetail.Ecommerce.Controls.CheckOutConfirmOrder

See Also

Reference

CheckOutConfirmOrder Members
Dovetail.Ecommerce.Controls Namespace
CheckOutOrderDisplayControl Class