Live Chat Software by IXXO |
Knowledgebase: Customization & Developer Info
How do I Add Sub Category Images to my Cart
Posted by Michael G.K on 30 August 2008 05:41 AM
|
|
Edit following file and look for
'{$subcat.name|htmlspecialchars}' Add following code right after
'{$subcat.name|htmlspecialchars}' | |
|
Comments (2)
Chris Maddock
05 September 2008 02:47 AM
Sensational. This was exactly what I was looking for
Chris Maddock
05 September 2008 02:54 AM
If you dont have an image for every sub category, then it does look so good. I modified the code to the following and it checks to see if an image exists before displaying it:
{if $subcat.img}
<img src="{$subcat.img}" alt="{$subcat.name|htmlspecialchars}" width="{$CatalogThumbSize}"
<BR>
{/if}
{$subcat.name|htmlspecialchars}</a></td>
{if $subcat.img}
<img src="{$subcat.img}" alt="{$subcat.name|htmlspecialchars}" width="{$CatalogThumbSize}"
<BR>
{/if}
{$subcat.name|htmlspecialchars}</a></td>