Hallo,
Ich habe mir auf meinen Seiten einen Shop eingerichtet und wollte jetzt überall den Mini-Warenkorb anzeigen lassen. Ich bin noch nicht lange bei Typo3 und habe den Lösungsansatz hier aus dem Forum - aber es funktioniert nicht richtig.
Mein Mini-Warenkorb wird nur auf der Shop-Seite angezeigt.
Mein Seitenaufbau:
root
- menü1
- ...
- menü2
- ...
- Shop
- Mini-Warenkorb
- Artikel
- Warenkorb
Mini Warenkorb (id=19):
Seiteninhalt->Eweiterung:produkte->Optionen:Warenkorb:Mini
Meine Artikel liegen im SysOrdner Artikel(id=18-).
Auf der Shop-Seite (id=10) ist tt_products eingebunden.
Im root-Setup steht:
MINI_BASKET = COA
MINI_BASKET.10 = CONTENT
MINI_BASKET.10 {
table = tt_content
select.where = colPos = 2
select.orderBy = sorting
}
MINI_BASKET.20 = < plugin.tt_products
MINI_BASKET.20 {
templateFile = fileadmin/shop.tmpl
select.pidInList = 19
code >
code = OVERVIEW
}
In root-Constants steht:
plugin.tt_products.file.templateFile = fileadmin/shop.tmpl
code >
code = OVERVIEW
plugin.tt_products.PIDbasket = 13
plugin.tt_products.PIDstoreRoot = 10
plugin.tt_products.pid_list = 18
Mein Mini-Warenkorb-Template (shop.tmpl) sieht so aus:
<!-- ###BASKET_OVERVIEW_TEMPLATE### begin -->
<div class="shop_minibasket"><!--###LINK_BASKET###-->###IMAGE_BASKET###<!--###LINK_BASKET###-->
<p>###NUMBER_GOODSTOTAL### Produkte (EUR ###PRICE_GOODSTOTAL_TAX###.-)</p></div>
<!-- ###BASKET_OVERVIEW_TEMPLATE### end -->
<!-- ###BASKET_OVERVIEW_EMPTY### begin -->
<p>Keine Produkte im Warenkorb.</p>
<!-- ###BASKET_OVERVIEW_EMPTY### end -->
Wenn ich jetzt die Shop-Seite direkt aufrufe, wird der Mini-Warenkorb angezeigt. Rufe ich allerdings die anderen Seiten auf, wird nichts angezeigt.
Woran kann das liegen, fehlen da ein paar Einstellungen.
Danke im Vorraus !