Skip to content
Advertisement

Tag: prestashop

use multiple files in category.tpl with smarty

{$category->id|escape:’htmlall’:’UTF-8′} this smarty code is for get id number on category.tpl we have lot of category id’s example 2,6,8,10 etc etc and in my folder lots of files names example 2minimum.txt, 6minimum.txt, 8minimum.txt, 10minimum.txt etc etc i want to use include file when current category id page with category id number txt file. {include file=’folder/2minimum.txt’} <=- this will work perfect

Advertisement