Jump to content

Edit History

JavierP

JavierP

Hello friends, I need to know how I can show a filter module, only in the parent category and subcategories that I want using the IDs, for example.
Using the

$currentCategory = Tools :: getValue ('id_category');

if ($ currentCategory! = 2)
return;


It only works on the ID that you put "2". That is, it is displayed in the "home" for example but not in the subcategories.
I hope your help, I have not touched internal code for a long time;)

thanks

JavierP

JavierP

Hello friends, I need to know how I can show a filter module, only in the parent category and subcategories that I want using the IDs, for example.
Using the

$currentCategory = Tools :: getValue ('id_category');

if ($ currentCategory! = 2)
return;


It only works on the ID that you put "2". That is, it is displayed in the "home" for example but not in the subcategories.
I hope your help, I have not touched internal code for a long time;)

thanks

JavierP

JavierP

Hello friends, I need to know how I can show a filter module, only in the parent category and subcategories that I want using the IDs, for example.
Using the

$currentCategory = Tools :: getValue ('id_category');

if ($ currentCategory! = 2)
return;


It only works on the ID that you put "2". That is, it is displayed in the "home" for example but not in the subcategories.
I hope your help, I have not touched internal code for a long time;)

×
×
  • Create New...