Jump to content

get the category id inside header.tpl from a product page


Recommended Posts

Hi there,

 

In order to apply some different backgrounds for categories, I'm looking for the best way to get the category id inside the header.tpl file when on a product page.

I found how to make it in a category page but not in a product page.

Does anyone have an idea ?

Thanks !

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...