Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

'Let's See What We Have Here' help


Guest

Recommended Posts

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 ?

Link to comment
Share on other sites

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! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...