[TYPO3-shop] mini-basket cache

Richard Hirner richard at hirner.at
Thu Feb 21 15:32:26 CET 2008


Hello,

I have a page with this layout:

[3] shop  (shortcut to overview)
   [4] SysFolder with categories & products
   [42] overview      (with special offers which use a different list
                      template so I need the shortcut to define
                      altMarkers for the overview)
   [36] list view
   [41] single view
   [14] basket

On all pages there is a mini-basket. It works fine except when I:
* clear all cookies, cache etc
* go to the shop root (overview with special offer is displayed)
* view details of the special offer
* go back to the shop root
* view details of another product, put it into the basket
  in the single view of this product, mini-basket shows "1 product"
* go back to shop root
  on the shop root, mini-basket shows "1 product"
* view details of the special offer again
  mini-basket shows "no products"!!
* put special offer into the basket
  mini-basket shows "2 products"

=> Why is this?? It seems to be a cache problem because if I turn off 
caching for the single view page, everything works (my current 
"solution"). But I want to cache the contents of the single view page, 
only the mini-basket shouldn't cache. How can I do so?

I found this hint to set pid_list:
http://www.typo3-jack.net/typo3-project-tt-products-lists-netfielders-
de/9074-typo3-shop-minibasket-basket-single-view.html
and played around with that, but no success.

Relevant TS constants/setup (all in the store root):

plugin.tt_products.PIDstoreRoot = 3  # needed because of the shortcut
                                     # is it better to use 4 (SysFolder)?
plugin.tt_products.PIDitemDisplay = 41
plugin.tt_products.PIDsearch = 39
plugin.tt_products.PIDbasket = 14
plugin.tt_products.PIDlistDisplay = 36

-- 
Richard Hirner


More information about the TYPO3-project-tt-products mailing list