in

dashCommerce

An ASP.NET Open Source e-Commerce Application

How to add order summary to catalog.aspx page?

Last post 05-16-2008 3:06 PM by megetron. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-16-2008 8:40 AM

    How to add order summary to catalog.aspx page?

    Hello,

    I am trying to include the the OrderSummary contro in my catalog.aspx page, right menu. for this I had to add the control a new parameter to display a short ord summery displays the quantit name and and price.

    Problem begins when I am trying t include the control in my catalog.aspx. the data does not displayed, and no error appears. when including in cart.aspx page everything works just fine.

    What may be the problem? is there any restriction display the ordersummary only in the CART.ASPX page?

    <dashCommerce:OrderSummary ID="orderSummary" runat="server" IsEditable="false" IsShortMode="true" />

     

    Thanks for help.

  • 05-16-2008 1:40 PM In reply to

    Re: How to add order summary to catalog.aspx page?

    Answer

    You can try adding this in the code-behind

            orderSummary.Order = new OrderController().FetchOrder(WebUtility.GetUserName());
            orderSummary.LoadOrder();

    And in the aspx page make surethat you have thi on the top of the page
    <%@ Register TagPrefix="dashCommerce" TagName="OrderSummary" src="~/controls/ordersummary.ascx" %>

    Find a bug? Create a Work Item for a fast response.. Want to help? Create a patch for us!
  • 05-16-2008 3:06 PM In reply to

    Re: How to add order summary to catalog.aspx page?

    After rebuilding again, it works like a magic in a sunny day. thank you.

Page 1 of 1 (3 items)