Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Change heading for product listing


Recommended Posts

I'm trying to change the heading in the product listing to reflect the category being currently viewed.


I came across this line in the index.php:

<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>


and through some guessing changed it to this:

<td class="pageHeading"><?php echo $breadcrumb->trail(' » '); ?></td>


This gets me about 90% of the way there, but I don't want the trail leading up to the category as part of the heading.


So for instance if the category is part of the hierarchy Top, I get this

Top » Catalog » Action and Adventure


when all I want is:

Action and Adventure


does anyone know how I can modify my code to eliminate the trail?

Troy Wilson


Link to comment
Share on other sites


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

  • Create New...