frhh Posted May 9, 2012 Share Posted May 9, 2012 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 More sharing options...
CartExpert.net Posted May 9, 2012 Share Posted May 9, 2012 Hi, For product pages use: $category->id Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now