shah Jalal Posted November 3, 2010 Share Posted November 3, 2010 I would like to make limit in category display block.Like I have one category "Iteam On sale". But I would not like to display in category block but other will be fine.How to make the condition in blockcategories.tpl file??Please help me any one Link to comment Share on other sites More sharing options...
rocky Posted November 4, 2010 Share Posted November 4, 2010 Edit modules/blockcategories/category-tree-branch.tpl and add the following to the top: {if $node.id != 3} and the following to the bottom: {/if} Change 3 to the ID of the category you don't want displayed in the category block. If you are using PrestaShop v1.2.5, you will need to modify category-tree-branch.tpl in your theme's directory too. Link to comment Share on other sites More sharing options...
Recommended Posts