Please note that this documentation is for the most recent version of this extension. It may not be relevant for older versions. Related documentation can be found in the documentation directory of the extension.
Breadcrumb Menu
To add an additional item to a breadcrumb menu on product detail pages, you can use the AddProductToMenuProcessor
.
To do this, add the following TypoScript to the setup section of your site package extension. We assume here that your main FLUIDTEMPLATE
is in page.10
.
page.10 = FLUIDTEMPLATE
page.10 {
# [...] template settings
dataProcessing {
# [...] Other data processors
50 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
50 {
as = breadcrumbMenu
special = rootline
}
60 = CodingMs\Shop\DataProcessing\AddProductToMenuProcessor
60.menus = breadcrumbMenu
}
}
The property menus
of the AddProductToMenuProcessor
must contain the key of the MenuProcessor
containing your breadcrumb. You can use more than one menu here by specifying multiple keys as a comma-separated list. For example: 60.menus = breadcrumbMenu,myOtherBreadcrumb
.