Jump to content

[SOLVED] how can i get category id in category.tpl


Recommended Posts

{$smarty.get.id_category} - you can use this variable

you can also use {$id_category}


Hi Vekia ,




$smarty.get.id_category = 4 not working



{if ($smarty.get.id_category = 4)}
     {include file="./product-list.tpl" products=$products}
Edited by rambabuy (see edit history)
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...