Guest Ankush Dawar Posted May 13, 2010 Share Posted May 13, 2010 Hi, 1. I wish to get rid of these Thumbnails of Categories with custom images. 2. I wish to remove this (6) (8) .... etc. from the subcategory etc. I do not wish to have no. of available under the sub-category, how to turn this off ? http://tlclighting.net/eshop/lamps/table-lamps/cat_4.html Can any one guide me ? Thanks Ankush Quote Link to comment Share on other sites More sharing options...
leeofaccy Posted May 13, 2010 Share Posted May 13, 2010 Do you mean you want to replace the default image with one of your own, for the categories? If you do, you can do this by going to View Categories in Admin Panel. Click Edit then Browse/Upload Image and select your own image. To remove the numbers, in brackets, of products available in a category you need to edit YOUR_SKIN/styleTemplates/content/viewCat.tpl. Find this... <!-- BEGIN: sub_cats_loop --> <div class="subCat"><a href="index.php?_a=viewCat&catId={TXT_LINK_CATID}" title="{TXT_CATEGORY}"><img src="{IMG_CATEGORY}" alt="{TXT_CATEGORY}" border="0" /></a><br /> <a href="index.php?_a=viewCat&catId={TXT_LINK_CATID}" title="{TXT_CATEGORY}">{TXT_CATEGORY}</a> ({NO_PRODUCTS})</div> <!-- END: sub_cats_loop --> Remove ({NO_PRODUCTS}) next to the last closing div. It should look like this... <!-- BEGIN: sub_cats_loop --> <div class="subCat"><a href="index.php?_a=viewCat&catId={TXT_LINK_CATID}" title="{TXT_CATEGORY}"><img src="{IMG_CATEGORY}" alt="{TXT_CATEGORY}" border="0" /></a><br /> <a href="index.php?_a=viewCat&catId={TXT_LINK_CATID}" title="{TXT_CATEGORY}">{TXT_CATEGORY}</a></div> <!-- END: sub_cats_loop --> Lee Quote Link to comment Share on other sites More sharing options...
Guest Ankush Dawar Posted May 14, 2010 Share Posted May 14, 2010 Thanks Lee .. It worked, but by mistake your it should look like code has no products, that needs to removed. Please fix the post for future users. Thanks. Ankush Quote Link to comment Share on other sites More sharing options...
leeofaccy Posted May 14, 2010 Share Posted May 14, 2010 Thanks for pointing that out Ankush It was a long day yesterday!! I have now edited the post. Lee Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.