prestashop 1.7 breadcrumb
snippet in php

prestashop 1.7 breadcrumb

user5315

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;
 }