Adding icons to CategoryList Page
-
- Ensign (ENS)
- Posts: 7
- Joined: Tue Jun 30, 2009 2:10 pm
Adding icons to CategoryList Page
The Category List Page seems to be the best fit for my customer but they would like to customize it. I've been able to do most of what was asked but I haven't figured out how to add icons of the products into the rows. Has anyone done this or able to help?
Re: Adding icons to CategoryList Page
Read last post by me in following thread.
viewtopic.php?f=47&t=9343
Its about adding product thumbnail to product list.
viewtopic.php?f=47&t=9343
Its about adding product thumbnail to product list.
-
- Ensign (ENS)
- Posts: 7
- Joined: Tue Jun 30, 2009 2:10 pm
Re: Adding icons to CategoryList Page
Thanks. That helped. I was able to add the image but where there is no image available I get the dreaded red "x" . I obviously need some sort of if>then statement to point to a generic "no photo available" image when there is no product image available but I'm not sure how to do that.
Re: Adding icons to CategoryList Page
It will be something like
Code: Select all
if(!string.IsNullOrEmpty(product.ThumbnailUrl))
{
//thumbnail code here
}
else
{
//image not found code here
}