Display Product Image in Advanced Search
-
- Ensign (ENS)
- Posts: 9
- Joined: Thu Nov 13, 2008 2:33 pm
Display Product Image in Advanced Search
I'm trying to add a column to the advanced search results that displays a product thumbnail that will link to the product page when clicked. I've tried using ConLib:ProductImage and I can't seem to get it to show up. Any help would be great. Thanks!
Re: Display Product Image in Advanced Search
Edit your conlib/advancedsearchpage.ascx.
Look for the <asp:GridView Id="ProductsGrid"....>
Immediately under the <Columns> tag, add:
...and that should do it.
Scott
Look for the <asp:GridView Id="ProductsGrid"....>
Immediately under the <Columns> tag, add:
Code: Select all
<asp:TemplateField HeaderText="Thumb Nail">
<ItemTemplate>
<asp:Image ID="ThumbImage" runat="server" ImageUrl='<%#Eval("ThumbnailUrl")%>' ></asp:Image>
</ItemTemplate>
</asp:TemplateField>
Scott
Re: Display Product Image in Advanced Search
Heinscott, that looks sooo much better. Thank you!
AC 7.0.3 build 13937