download AddItemResult.ascx
Language: NonCode
LOC: 0
Project Info
commercefinity - An open source eCommerce ...odule(commercefinity)
Server: Google
Type: svn
...runk\Commerce\PageControls\
   AddItemResult.ascx
   AddItemResult.ascx.cs
   Catalog.ascx
   Catalog.ascx.cs
   Checkout.ascx
   Checkout.ascx.cs
   MyOrders.ascx
   MyOrders.ascx.cs
   PPCheckout.ascx
   PPCheckout.ascx.cs
   Product.ascx
   Product.ascx.cs
   Receipt.ascx
   Receipt.ascx.cs
   ShoppingBasket.ascx
   ShoppingBasket.ascx.cs

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="AddItemResult.ascx.cs"
    Inherits="Commerce_PageControls_AddItemResult" %>
<%@ Register Src="~/Commerce/Products/ProductSummaryDisplay.ascx" TagName="ProductSummaryDisplay"
    TagPrefix="uc6" %>
<%@ Register Src="~/Commerce/RecentCategories.ascx" TagName="RecentCategories" TagPrefix="uc2" %>
<%@ Register Src="~/Commerce/RecentProductsViewed.ascx" TagName="RecentProductsViewed"
    TagPrefix="uc3" %>
<%
    if (drLastAdded != null)
    {
%>
<h1>
    Just Added to Your Shopping Basket:</h1>
<div id="justAdded">
    <asp:Image ID="imgJustAdded" runat="server" CssClass="imageLeft" width="250px"/>
    <div class="productText">
        <h2>
            <asp:Label ID="lblJustAddedName" runat="server"></asp:Label></h2>
        <p>
            <span class="retailprice">Retail Price:
                <asp:Label ID="lblJustAddedRetail" runat="server"></asp:Label></span><br />
            <span class="ourprice">Member's Price:
                <asp:Label ID="lblJustAddedOurPrice" runat="server"></asp:Label></span><br />
            Quantity:
            <asp:Label ID="lblJustAddedQuantity" runat="server"></asp:Label><br />
            <asp:Label ID="lblSelectedAtts" runat="server" Text='<%#Eval("attributes") %>'></asp:Label>
            <span class="ourprice">Total:
                <asp:Label ID="lblJustAddedLineTotal" runat="server"></asp:Label>
               </span>
            <asp:HyperLink ID="HyperLink1" NavigateUrl="~/Checkout.aspx" runat="server" CssClass="hlButton">Checkout</asp:HyperLink>
            <asp:HyperLink ID="HyperLink2" NavigateUrl="~/Basket.aspx" runat="server" CssClass="hlButton">View Basket</asp:HyperLink>
        </p>
    </div>
</div>
<%
    }
    else
    {
%>
<h1>
    Your Shopping Basket is Empty</h1>
<%
    }
%>
<asp:Panel ID="pnlCross" runat="server">
    <h2>
        You might also be interested in...</h2>
    <asp:DataList ID="dtCrossProducts" runat="server" RepeatLayout="Flow" OnItemCommand="lnkAddCross">
        <ItemTemplate>
            <uc6:ProductSummaryDisplay ID="ProductSummaryDisplay1" runat="server" ProductID='<%#Eval("crossProductID")%>'
                ProductName='<%#Eval("ProductName")%>' RetailPrice='<%#Eval("RetailPrice")%>'
                OurPrice='<%#Eval("OurPrice")%>' ImageFile='<%#Eval("DefaultImage")%>' Rating='<%#Eval("Rating")%>'
                ProductGUID='<%#Eval("ProductGUID")%>' />
            <asp:Label ID="lblProductID" runat="server" Text='<%#Eval("productID")%>' Visible="false"></asp:Label>
        </ItemTemplate>
    </asp:DataList>
    <br />
</asp:Panel>
<asp:Panel ID="pnlRecent" runat="server">
    <div class="productsection">
        <h2>
            Recently Viewed Items</h2>
        <asp:DataList ID="dtRecent" runat="server" OnItemCommand="lnkAddRecent" RepeatLayout="Flow">
            <ItemTemplate>
                <uc6:ProductSummaryDisplay ID="ProductSummaryDisplay1" runat="server" ProductID='<%#Eval("ProductID")%>'
                    ProductName='<%#Eval("ProductName")%>' ShippingEstimate='<%#Eval("ShippingEstimate")%>'
                    RetailPrice='<%#Eval("RetailPrice")%>' OurPrice='<%#Eval("OurPrice")%>' ImageFile='<%#Eval("defaultImage")%>'
                    Rating='<%#Eval("Rating")%>' ProductGUID='<%#Eval("ProductGUID")%>' />
            </ItemTemplate>
        </asp:DataList>
    </div>
</asp:Panel>

About Koders | Resources | Downloads | Support | Black Duck | Submit Project | Terms of Service | DMCA | Privacy Policy | Site Map| Contact Us