Page 1 of 1
Adding icons to CategoryList Page
Posted: Fri Aug 07, 2009 8:21 am
by loafintree
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
Posted: Fri Aug 07, 2009 8:51 am
by mazhar
Read last post by me in following thread.
viewtopic.php?f=47&t=9343
Its about adding product thumbnail to product list.
Re: Adding icons to CategoryList Page
Posted: Fri Aug 07, 2009 12:35 pm
by loafintree
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
Posted: Sat Aug 08, 2009 12:35 am
by mazhar
It will be something like
Code: Select all
if(!string.IsNullOrEmpty(product.ThumbnailUrl))
{
//thumbnail code here
}
else
{
//image not found code here
}