Guest Posted November 11, 2004 Posted November 11, 2004 i installed a oscommerce shopping cart a while for a friend and in doing so i used a great article that was here: http://wiki.oscommerce.com/docsCatBoxGenCatName which gave instructions on how the edit the php so that when you went into different categories rather than just saying 'Categories' or 'Let's See What We Have Here' it gave the category heading as the title e.g 'Games' or 'Software' do you know where this article has gone as i bookmarked the url but did not make a copy of the article itself ?
241 Posted November 11, 2004 Posted November 11, 2004 in catalog/includes/languages/english/index.php you can change this: 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']); and this } elseif ($category_depth == 'top') { define('HEADING_TITLE', 'What\'s New Here?'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } to this } elseif ($category_depth == 'top') { define('HEADING_TITLE', 'place the name of your site here'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', $categories['categories_name']); } where it says place the name of your site here you can put your sites 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.
pywrit Posted November 12, 2004 Posted November 12, 2004 Thanks for this one. New to OSC and am learning quickly through tips and hints just like this one. Jeff
Recommended Posts
Archived
This topic is now archived and is closed to further replies.