Jump to content

different header images for each category/subtcategory

Recommended Posts

i want to put a different image for each category and subcategory so, for example if i have a category "categoryname" with some subcategories inside, i would like to have the same header for everyone, both category and subcategories.


in smarty i can get $smarty.get.id_category but it is inefficent, i must make a big if with all the subcategories... is there a way to have the parent category in the header.tpl? or prestashop simply hasn't this variable?

Share this post

Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More