Answers for "prestashop breadcrumb"

PHP
1

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;
 }
Posted by: Guest on January-19-2021

Code answers related to "prestashop breadcrumb"

Browse Popular Code Answers by Language