Hallo Leute,
ich baue grade zk_products ein. Das Projekt läuft mit Template Voila. Ich würde gern ständig auf der rechten Seite den Warenkorb anzeigen. Ich bin bis jetzt wie folgt vorgegangen:
- Ich habe in meinem Main Template ein neues field angelegt "field_basket". Mapping Type: Element, Editing Type: TypoScript Object Path, Object path: lib.basket.
- Ich habe ein Template angelegt "temp.basket". Nirgends habe ich was eingefügt oder eingeschaltet. Im Setup steht:
# Basket [Begin]
lib.basket = < plugin.tt_products
lib.basket.code >
lib.basket.code = OVERVIEW
# Basket[End]
- In meinem Main Template habe ich das Template temp.basket unter "Include basis template" eingefügt.
- Ergebnis: auf den Seiten wird etwas angezeigt, aber es ist nicht der Warenkorb, sondern dies hier:
Shop Codes
You must insert a code in the CODE field of the "List" content element before the shop will work. The code tells the shop module what to do. You can insert multiple codes by separating them by a comma.
Here is an example:Current CODE = ""
LIST Inserts a list of the products on the current page. If you want a blank CODE field to act as LIST, you can set it up in the TypoScript of the shop.
SINGLE Displays a single product if a GET/POST var 'tt_products' is set.
SEARCH Displays a search dialog for searching products.
BASKET
PAYMENT
FINALIZE
INFO Displays the shopping basket.
The code 'BASKET' works in general but using the specific codes INFO (address form), PAYMENT (last check) and FINALIZE (thank you screen), you can split out the function over multiple pages.
TRACKING Displays tracking dialog / information for an order.
FRAGE: Was muss ich machen, damit mir der Warenkorb vom Typ Overview angezeigt wird?
Beste Grüße und danke im Voraus
Björn