Jump to content

How to remove product name from breadcrumbs / nav trail?


noesac

Recommended Posts

regardless of a discussion of this being good or bad, if you want to change it...

 

ProductController.php adds the path variable to smarty

'path' => Tools::getPath((int)$category->id, $this->product->name, true),

 

But it is the Tools class (Tools::getPath) that creates it. So you can override the Tools class. You just need to confirm what else might use the getPath function, it may be best to create a custom "myGetPath" function, and alter it to your liking.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...