Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change Category title from "Categories"


caspire

Recommended Posts

Hello everyone,

 

When I view a nested category in my site, the heading title just says "Categories" but I would like to know how to make it say whatever folder they are in. Say they are viewing the folder "Comedy" I would like it to say Comedy at the top instead of Categories.

 

Thanks,

CaSpiRE :thumbsup:

Link to comment
Share on other sites

  • 3 months later...

when i do what it says in that contrib and change the code in the product_info.php the category that list the products still says heading_title and when you click on the product it says

 

1054 - Unknown column 'p.products_retail_price' in 'field list'

 

select pd.language_id, p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_retail_price, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from products p, products_description pd where p.products_id = '31' and pd.products_id = '31' and pd.language_id ='1'

 

[TEP STOP]

Link to comment
Share on other sites

hmm.. not sure why. You can try taking out

 

p.products_retail_price,

 

from the piece of code it says to add including the comma.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

In your index.php, find the first occurrence of:

 

echo ?HEADING_TITLE;

 

and replace it with:

 

echo $category['categories_name']; 
//echo ?HEADING_TITLE;

 

Enjoy

 

Nacer.

 

Assalamualaikum and Hi Nacer :rolleyes:

 

I must have done something wrong, the titles did change but under it this showed up

 

n

 

n

 

n

 

n

 

Please advise thanks.

Link to comment
Share on other sites

You are more than likely using the file manager that comes with osc, right?

 

If so that is what is causing the problems. Hopefully you have a backup. You need to download the files using an FTP program, edit them on your computer then reupload them.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

  • 6 months later...
In your index.php, find the first occurrence of:

 

echo ?HEADING_TITLE;

 

and replace it with:

 

echo $category['categories_name']; 
//echo ?HEADING_TITLE;

 

Enjoy

 

Nacer.

 

 

Hi nacer, I cant find this code. I am using the latest version. Could you tell me where to make this change ?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...