Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HEADING TITLE on index page


Guest

Recommended Posts

Posted

I have categories in my shop such as Necklaces, Earrings, Bracelets and have used the Manufacturers field to show jewellery collections such as Business Wear, Special Occasion... (Site is under construction but can be viewed at www.loveyourrocks.com/catalog)

 

When a customer clicks on the link for a Necklaces, I want the HEADING TITLE above the product listing to show 'Necklaces' just the same as the breadcrumb trail adds it. Similarly if a customer clicks on Business Wear, I want the HEADING TITLE to display 'Business Wear'.

Currently I can only set a basic static text for the HEADING TITLE (as per the standard installation) but this means the title is the same across all pages and I want it to be dynamic.

 

I have searched the contributions and the forum but cannot find the solution to this one. Help would be much appreciated please.

 

Gaynor

Posted

I think there is a contribution for this. Something like categories in heading or something.

 

Try this....

 

on index.php find if ($category_depth == 'nested') {

 

and replace HEADING_TITLE with $category['categories_name']

 

that should get you in the ballpark of what you want.

How do you know when you know what you want to do for the rest of your life?

Posted

Thank you - I did find it in the contributions

http://addons.oscommerce.com/info/6574

 

Very simple to put in place - very well documented and a great improvement on the standard osC.

G

 

I think there is a contribution for this. Something like categories in heading or something.

 

Try this....

 

on index.php find if ($category_depth == 'nested') {

 

and replace HEADING_TITLE with $category['categories_name']

 

that should get you in the ballpark of what you want.

Archived

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

×
×
  • Create New...