[TYPO3-shop] Empty basket problem - a serious and expanding problem

Franz Holzinger franz at ttproducts.de
Fri Mar 9 19:02:07 CET 2012


Hello Vincent,

On 09/03/12 14:13, Vincent Mans wrote:
> I gave you a link to the shop where it happens. So at least you can see
> that it happens. Did you check it? And I have this in several versions of
> TYPO3, 4.4 and 4.5 at least. But so far, only for this webshop. In another
> shop too, there it was solved by setting a cookie domain in the install
> tool.
Unfortunately I have lost this link. But a bug with the cookie happens 
if you use several subdomains of the same domain. This is a new features 
of TYPO3 4.6 to set the cookie name in the file localconf.php .

> To me, it feels like a caching issue. Meanwhile, I tried all possible
> caching configurations without success. I also tried your patches and
> suggestions. Strange thing is that is it browser related, and now FF joins
> (after Chrome first).
The products basket view plugin is never cached.
Inser this into the setup:

[globalVar = GP:ttp_basket != '']
plugin.tt_products = USER_INT
[global]

The cache must be turned off also on all other shop plugins if a product 
is already in the basket. Otherwise tt_products won't be executed. And 
if tt_products is not executed then it cannot insert an item into the 
basket.
Maybe there is another solution for this.
Or you must insert a mini basket plugin on each page. Make it hidden if 
you do not want to display it.

> Well, I'll explore it further, hope you and others will have some thoughts
> about it too. I'm even paying people to investigate this, without results
> so far.
Consider paying a TYPO3 Core developer who has good experience about 
caching. Dmitry  Dulepov has contributed the patch for the improved 
caching of tt_products without the usage of a call to the no_cache function.

> For the future, it might be a good thing to look at the "database" options
> in HTML5 for temporarily storage (in stead of session or cookies). Perhaps
> someone can put that on a list somewhere?
Yes, it would be an improvement to have another option for using the basket.

- Franz





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