Guest johnsimpson Posted July 31, 2008 Share Posted July 31, 2008 Hi I was wondering if this was possible / already been done somewhere.... I want to change the category navigation so that it will also show the sub categories as well as the parent categories. So for example: Parent Category - Sub cat 1 - Sub cat 2 Parent Cat 2 - Sub Cat 1 - Sub Cat 2 and so on.... I have looked in the categories.inc.php file and see that it is restricted using the WHERE cat_father_id = 0 clause in the SQL statement, if i remove this it does display all the categories with their children, but i cannot work out how to apply different styles to them. Ideally i want the parent category to be in a header style and the sub cats to be listed in <li> tags as they are now. Can anyone help / point me in the right direction so i can achieve the layout i want? thanks John Quote Link to comment Share on other sites More sharing options...
Robsta Posted July 31, 2008 Share Posted July 31, 2008 Can anyone help / point me in the right direction so i can achieve the layout i want?CubeCartForums.org for third-party products and services. 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.