Hello,
I am trying to get the child title from the categories.
I already tried this: theme/classic/templates/cms/category.tpl
{foreach from=$sub_categories item=sub_category} <li class="col-md-3"> <a href="{$sub_category.link}"><h2>{$sub_category.name}</h2></a> {foreach from=CMS::getCMSPages({$cookie->id_lang|intval},{$sub_category.id_cms_category},true) item=cmspages} <p> <a href="{$link->getCMSLink($cmspages.id_cms, $cmspages.link_rewrite)|escape:'htmlall':'UTF-8'}"> {$cmspages.meta_title|escape:'htmlall':'UTF-8'} </a> </p> {/foreach} </li> {/foreach}
The link is showing correctly, but when I want to get the name out of the url, it is not working.
PrestaShop version: 1.7.6.9