Hallo Liebe leute
Wie der Titel schon sagt würde ich gernre einen Breadcrumb in meine Shop einbauen.
Ich habe es schon geschaft das die erste ebene angezeigt wird, er geht aber nicht tiefer rein.
Wenn ich auf den menü punkt Produkte klicke wird dies dargestellt aber wenn ich dann auf eine Kategorie gehe wird diese nicht hinzugefügt.
Hier mal der Code:
lib.rootlines = COA
lib.rootlines.11 = HMENU
lib.rootlines.11 {
# Auch Seiten anzeigen vom Typ: Nicht im Menü
includeNotInMenu = 0
special = rootline
special.range = 0|-1
1 = TMENU
1 {
target = _top
NO {
allWrap = | » |*| | » |*| |
}
}
# Aktuell gewähltes Element
1.CUR = 1
1.CUR {
linkWrap =<strong>|</strong>
doNotLinkIt = 1
}
}
[globalVar = GP:tx_ttproducts_pi1|product > 0]
rootlines.11.1.NO.linkWrap = |»
rootlines.11.special.range = 0|-2
rootlines.20 = RECORDS
rootlines.20 {
dontCheckPid = 1
tables = tt_products
source.data = GPvar:tx_ttproducts_pi1|product
conf.tt_products = COA
conf.tt_products = TEXT
conf.tt_products.field = title
conf.tt_products.crop = 60 | ...
conf.tt_products.wrap = <strong>|</strong>
}
[global]
Hoffentlich findet ihr den Fehler oder wisst was ich anders machen kann
Lg
Philipp 😃