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?

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