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: Remove from shopping cart pages

  1. #1
    Pdesignz is offline Member
    Join Date
    Oct 2007
    Posts
    33

    Default Remove from shopping cart pages

    I am using ML Express,

    Is it possible to remove links from the shopping cart pages

    Shipping Information
    Edit Your Address Book

    Thanks

  2. #2
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    Sure. Open up your ShoppingCart.aspx file and comment out these lines. From line 24 to 34 or something along those lines:
    Code:
    <td>
           <asp:Panel ID="ShippingInformation" runat="server">
            .......
            <asp:Image ID="redarrow4" AlternateText="" runat="server" />*<a href="selectaddress.aspx?returnurl=shoppingcart.aspx&AddressType=Shipping"><asp:Literal ID="shoppingcartaspx11" Text="(!shoppingcart.aspx.11!)" runat="server"></asp:Literal></a><br />
             </asp:Panel>
    </td>

  3. #3
    mongesc is offline Senior Member
    Join Date
    Dec 2008
    Posts
    166

    Default

    How about changing the Skin for the shopping cart? Can we do this the shoppingcart.aspx too?

  4. #4
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    Yes, but you'll need to do it like the steps below as it would require naming convention if you're switching different template for a particular page.

    "Template" + {current page}

    for appconfig values, this will have to be added manually.

    so, to have a different template for the shoppingcart page, you'll have to add another appconfig: "TemplateShoppingcart.aspx" and specify the template name, provided it's existing in the same skin directory.

    i.e.
    AppConfig Name/Value
    TemplateShoppingcart.aspx = cart.ascx

    Skin_1/
    template.ascx = Default Template
    cart.ascx = Shoppingcart page specific template