prestashop 1 7 breadcrumb

Solutions on MaxInterview for prestashop 1 7 breadcrumb by the best coders in the world

showing results for - "prestashop 1 7 breadcrumb"
Lorenzo
08 Jul 2018
1public function getBreadcrumbLinks()
2{
3    $breadcrumb = parent::getBreadcrumbLinks();
4 
5    $breadcrumb['links'][] = [
6        'title' => $this->getTranslator()->trans('Women', [], 'Breadcrumb'),
7        'url' => $this->context->link->getModuleLink('module_name', 'controller_name')
8     ];
9 
10    $breadcrumb['links'][] = [
11        'title' => $this->getTranslator()->trans('T-shirts', [], 'Breadcrumb'),
12        'url' => ''
13     ];
14 
15     return $breadcrumb;
16 }
17