Jump to content

Different module in each category


Recommended Posts

Hello, good afternoon . Took several days trying, but it still fails in any way. On my website I have five main categories and I want to show in the left column a module completely different with html content. I would not only be seen in that category , also in its subcategories and products that are linked to that category and its subcategories . I've tried adding a conditional in the .tpl module , but works for me . Any help?, I 'm using version 1.6.0.6


{if $ smarty.get.id_category == 2 }
content Module
{ / if}

Best regards,

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