Jump to content

[SOLVED] Simple module get current category trail PS 1.4


w3bsolutions

Recommended Posts

Hello,

 

I need a very simple module for PS1.4 that would hook to the header and get the current category trail (breadcrub) in a smarty variable so I can call it in the body class. I want the body class of each category page to have the category ids from "home" to the current category.

 

For example: 

Home > Clothing > Men , could be "cat0 cat4 cat5"

 

I have found this on the forums: http://www.prestashop.com/forums/topic/273463-solved-category-names-as-classes-in-headertpl/ - Nemo1 seems to have the answer on his post but I don't know enough to follow the instructions.

 

Any offer please PM me.

 

 

Edited by fire2 (see edit history)
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...