Jump to content

Show a different layout depending on the id of the category


NavarroHermanos

Recommended Posts

Hello,
I was reading in a previous query that adding the code that was attached could customize the page for each category.
I have managed to show a different category.tpl file depending on the category I need to show but I can not modify the tpl so that it loads different layouts in each one.
I understand that it is a question only of modifying the file category.tpl (as it did with Prestashop 1.6) but right now I am starting with the Prestashop 1.7 and I do not know how to do this.
I would appreciate any help.
Thank you

 

 

CategoryController.php

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