Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 4 of 4

Thread: Not displaying Shipping Status

  1. #1
    deanfp is offline Senior Member
    Join Date
    May 2009
    Location
    Sweden
    Posts
    556

    Default Not displaying Shipping Status

    Is there a way that we can turn off or remove the shipping status if someone ins logged in?

    We currently have our inventory database that is not compatable with Store Front and it's causing a lot of confusion

    Cheers!

  2. #2
    AspDotNetStorefront Staff - Scott's Avatar
    AspDotNetStorefront Staff - Scott is offline Administrator
    Join Date
    Mar 2007
    Location
    Ashland, OR
    Posts
    2,390

    Default

    I'm not sure what exactly you're trying to get rid of...just the status that displays on the Account page for their order history or...? Do you need that info out of the DB entirely, or just not showing up on the front end?

  3. #3
    deanfp is offline Senior Member
    Join Date
    May 2009
    Location
    Sweden
    Posts
    556

    Default

    Hi. Yes it is when a customer is logged in and viewing their order status/history on the account page.

  4. #4
    AspDotNetStorefront Staff - Scott's Avatar
    AspDotNetStorefront Staff - Scott is offline Administrator
    Join Date
    Mar 2007
    Location
    Ashland, OR
    Posts
    2,390

    Default

    Taking it out of the front end is easy if that's all you're after. In account.aspx you'll need to remove these 2 lines:

    259 by default:
    Code:
                            <td align="center" valign="top"><b><asp:Label ID="accountaspx40" runat="server" Text="(!account.aspx.40!)"></asp:Label></b></td>
    276 by default:
    Code:
                                        <td align="center" valign="top"><%#"&nbsp;" + GetShippingStatus(Convert.ToInt32(DataBinder.Eval(Container.DataItem, "OrderNumber").ToString()), DataBinder.Eval(Container.DataItem, "ShippedOn").ToString(), DataBinder.Eval(Container.DataItem, "ShippedVIA").ToString(), DataBinder.Eval(Container.DataItem, "ShippingTrackingNumber").ToString(), DataBinder.Eval(Container.DataItem, "TransactionState").ToString(), DataBinder.Eval(Container.DataItem, "DownloadEMailSentOn").ToString()) + "&nbsp;"%></td>
    That'll stop it from displaying. Taking that info out of the DB entirely (if that's what you're after) would take changes all over.