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 1 of 1

Thread: How to get origianl price of an on sale product to display in the showfiltercategory.aspx?

  1. #1
    spheapk is offline Junior Member
    Join Date
    Feb 2013
    Posts
    3

    Default How to get original price of an on sale product to display in the showfiltercategory.aspx?

    I am working on showing the regular price for the on sale product on the page that generates by showfiltercategory.aspx.

    <tr>
    <td height="10" align="center" valign="top">
    <asp:Label runat="server" ID="lblprice" CssClass='<%#Eval("pricetext")%>' Text='<%# Eval("Price") %>'></asp:Label>
    </td>
    </tr>

    The above code is in the showfiltercategory.aspx. Eaval("Price") returns original price if the product is not on sale, or it returns the sale price if the product is on sale.

    I want to display both regular price and sale price of a product. How do I get the regular price when a product is on sale?


    Thanks,


    Pheap
    Last edited by spheapk; 05-06-2013 at 02:38 PM.