Guest Posted October 13, 2006 Posted October 13, 2006 Hello, This one is hard to explain but here goes. I am trying to change the layout of some of the sub-category pages on my site. I sell inkjet cartridges some of my categories pages have 100s of subcategories (list of printers). I want to try and keep the stock layout for other sub-categories This website shows exactly what I am trying to do: notice the stock layout on the inkjet cartridges category and the modified (printer list) layout on each sub-category. http://www.unbeatableinks.co.uk/index.php?cPath=47 I think I have to edit/add something to the index.php file but what I have no idea. If anyone could help me out I would really appreciate it. Thanks, David.
osCommerce4you.com Posted October 14, 2006 Posted October 14, 2006 In index.php you need to edit the part starting from line } elseif ($category_depth == 'products' || isset($HTTP_GET_VARS['manufacturers_id'])) { till line } else { // default page
Guest Posted October 14, 2006 Posted October 14, 2006 Thanks for the reply Ted, I have look at the code between those two points and there's an awful lot of it!! being a php dummy I don't know what I have to change it to order to change the way the category titles are displayed. If someone could help me out it would be great.
Guest Posted October 14, 2006 Posted October 14, 2006 I've got the category list as I would like, now I need to seperate them into groups. For example the are a few different types of epson printer i.e epson stylus, epson stylus colour, epson stylus photo and so on... I would like to serperate then into these groups and add a title for each group. (the link I posted earlier shows this) epson stylus list of epson stylus printers epson stylus colour list of epson stylus colour printers epson stylus photo list of epson stlus photo printers and so on... I need different title for different categories i.e HP, canon, brother etc and don't want any titles or groups in the higher level category layouts i.e ink cartridges. Could someone be kind enough to provide me with some code to get me started on this? Thanks.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.