prestashop breadcrumb if is category code example
Example: prestashop 1.7 breadcrumb
public function getBreadcrumbLinks()
{
$breadcrumb = parent::getBreadcrumbLinks();
$breadcrumb['links'][] = [
'title' => $this->getTranslator()->trans('Women', [], 'Breadcrumb'),
'url' => $this->context->link->getModuleLink('module_name', 'controller_name')
];
$breadcrumb['links'][] = [
'title' => $this->getTranslator()->trans('T-shirts', [], 'Breadcrumb'),
'url' => ''
];
return $breadcrumb;
}