Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Category names


WISHM4STER

Recommended Posts

Hi!

 

I'm a total n00b when it comes to php.. I'm having problems when browsing my shop.. When opening a category it should/could state the category name , right?

 

At this moment all it says is "Category"

 

For example:

My category tree looks somewhat like this.

 

Maincategory

Subcategory

Subcategory

 

And when clicking on one of these it says:

 

Categories

Categories

Let's See What We Have Here

 

Is this possible to get it to state the actual category name? As I mentioned, this is my first test with php so please if what I want is possible, tell me how and where to edit this.. :rolleyes:

Link to comment
Share on other sites

Well.. Then were can I report a bug..? :P

 

Sorry to say that that doesn't work..

 

Just to clarify, the menu itself is correct. But the name of the category/subcategory is not above the all the products in the "main" page.

 

If i were to have a category named "Videos" I want that displayed on the top of the page instead of "Category" that is present at this moment..

Link to comment
Share on other sites

  • 3 weeks later...

I am having the same problem. I don't know the solution, but I have a clue. I found in the catalog/includes/english/index.php file about 35 rows down:

 

define('HEADING_TITLE', 'Let\'s See What We Have Here');

 

This corresponds to each page. What you would need is to somehow define HEADING_TITLE with a variable that held the category name. I don't know how to do this though, but maybe someone who reads this will let us in on the secret.

 

It seems strange that the Category Name and Image wouldn't be there automatically, but I guess you can tell where you are from the breadcrumbs.

 

Any solutions would be greatly appreciated.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...