fribhey Posted July 1, 2004 Posted July 1, 2004 how do i customize the 'category page' (the page that displays all the products from a particular category) ??? there are two things i want to do: 1) change the page header that says 'Let's See What We Have Here' to the category name 2) change the layout of the page itself. i want to alter the table that the category items are displayed in so far i've been able to customize/modify all the other pages (index, product page, etc) but i can't figure out how to modify the category page. i'd appreciate it if someone could point me in the right direction thanks
241 Posted July 1, 2004 Posted July 1, 2004 the first part for the titles in catalog/includes/languages/english/index.php at the bottom is this code define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers'); } elseif ($category_depth == 'top') { define('HEADING_TITLE', 'What\'s New Here?'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } change to define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers'); } elseif ($category_depth == 'top') { define('HEADING_TITLE', 'What\'s New Here?'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', $categories['categories_name']); } and change if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) { define('HEADING_TITLE', 'Let\'s See What We Have Here'); to this if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) { define('HEADING_TITLE', $categories['categories_name']); No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
fribhey Posted July 1, 2004 Author Posted July 1, 2004 define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers'); } elseif ($category_depth == 'top') { ?define('HEADING_TITLE', 'What\'s New Here?'); } elseif ($category_depth == 'nested') { ?define('HEADING_TITLE', 'Categories'); } change to define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers'); } elseif ($category_depth == 'top') { ?define('HEADING_TITLE', 'What\'s New Here?'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', $categories['categories_name']); } thank you. what does the first code do? the second code was what i was looking for.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.