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

Thread: search caption

  1. #1
    chrismartz is offline Senior Member
    Join Date
    Apr 2010
    Posts
    339

    Default search caption

    I am working with the search ID ctrlSearch that is on the homepage. I want to display an image above the text box and I tried doing the following, but it doesn't return an image:

    Code:
    SearchCaption='<img runat="server" src="~/App_Themes/Skin_1/images/search_products.png" alt="Quick Item Entry" /><br /><span class="search_text">Enter keyword(s) or item number(s):</span><br />'
    I'm guessing it's because of my image runat but I need that so it always looks in the right folder for the image. Any suggestions?

  2. #2
    chrismartz is offline Senior Member
    Join Date
    Apr 2010
    Posts
    339

    Default

    Just like above, can you use Tokens:Num_Cart_Items in an if statement in template.master?

    i.e.
    Code:
    <% if ($Num_Cart_Items = 1) { %>s<% } %>
    I am trying to show # of Item or #of Items based on if it's one item or more than one item.