Guest h2ku Posted June 18, 2008 Share Posted June 18, 2008 Hello! I was wondering if there was a possible way of geting rid of the category showing how many products are in it? I would prefer the category just showing the category name? Possible? I've seen other cubecart shops like the way I want: www.tjtuning.co.uk On the left hand side where it says Shop By Category, then all of the Categories are listed, but there are no numbers beside it like for example, Aprilia doesnt show how many are there? Thanks Quote Link to comment Share on other sites More sharing options...
Guest estelle Posted June 19, 2008 Share Posted June 19, 2008 Look in skins/YOUR_SKIN/styleTemplates/boxes/categories.tpl FIND this line: <a href="index.php?_a=viewCat&catId={DATA.cat_id}">{DATA.cat_name} ({DATA.noProducts})</a> Carefully remove this code from the line: ({DATA.noProducts}) Also within skins/YOUR_SKIN/styleTemplates/content/viewCat.tpl FIND this line: <a href="index.php?_a=viewCat&catId={TXT_LINK_CATID}" class="txtDefault">{TXT_CATEGORY}</a> ({NO_PRODUCTS}) Carefully remove this code from the line: ({NO_PRODUCTS}) Quote Link to comment Share on other sites More sharing options...
Guest Posted June 22, 2008 Share Posted June 22, 2008 Thanks! This should be in a sticky :unsure: Quote Link to comment Share on other sites More sharing options...
Guest jvalen Posted June 25, 2008 Share Posted June 25, 2008 Look in skins/YOUR_SKIN/styleTemplates/boxes/categories.tpl FIND this line: <a href="index.php?_a=viewCat&catId={DATA.cat_id}">{DATA.cat_name} ({DATA.noProducts})</a> Carefully remove this code from the line: ({DATA.noProducts}) Also within skins/YOUR_SKIN/styleTemplates/content/viewCat.tpl FIND this line: <a href="index.php?_a=viewCat&catId={TXT_LINK_CATID}" class="txtDefault">{TXT_CATEGORY}</a> ({NO_PRODUCTS}) Carefully remove this code from the line: ({NO_PRODUCTS}) I've tried this but the amount of products in the category is still showing up. Did this work for anyone else? Quote Link to comment Share on other sites More sharing options...
Guest acjc Posted August 22, 2008 Share Posted August 22, 2008 The changes took about an hour to take affect for me on CC4.2 after I uploaded the revised files. So the above instructions did work, it just didn't take effect immediately for some reason. All my quantities were displaying an incorrect count, so I definitely wanted to figure out how to remove it. E.G. I have three items in a category and it shows a quantity of 6 in the 'Shop By Category' sidebar. (And in the backend control panel on the 'View Categories' screen it says I have a quanity of 4.) I've only played with CubeCart a few weeks, but in my opinion- with all the little problems and inadequacies of CC4- I think they should not charge for the software and just accept donations. Especially since anyone who wants a modern-looking, professional ecommerce site is going to have to spend additional money on mods and skins when using CubeCart. Quote Link to comment Share on other sites More sharing options...
Ausy Posted August 22, 2008 Share Posted August 22, 2008 After making any alterations its a good idea to clear the cache, you can also sort out the product count, the tools are in Admin - Rebuild and recount 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.