Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

category_depth variable?


Recommended Posts


New to osCommerce and working on setting it up for our website.

In the includes/languages/english/index.php file I noticed it has


} elseif ($category_depth == 'top') {


I am just wondering where this category_depth variable is declared/set?




O yeah... one more newbie/stupid question... where do I do the

define(TITLE, "blah");


I looked in the main index.php file and noticed that's the thing it uses for the title of the page... so could somoene please mention where this is defined (probably with a bunch of other important definitions that I can't seem to find)[/code]

Link to comment
Share on other sites

The Categories depth I believe is calculated in both application_top.php and default.php. Look for reference to $cpath.


You can find your TITLE items in catalog/includes/languages/english.php.


Good Luck.



Link to comment
Share on other sites


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

  • Create New...