[TYPO3-commerce] basketHashValue

Rik Willems rik at actiview.nl
Mon Dec 6 17:23:13 CET 2010


Please allow me to get back at this.
I read in the Extension Development book by Dmitry that you can add 
USER_INT pieces in a cached plugin output. So the plugin is USER but 
small pieces are not cached but rendered on the fly.
Would this be a nice thought to get rid of the basketHashValue? In my 
opinion it is not very attractive and it would be best if it were not 
needed.

Looking forward to your thoughts!

Cheers, Rik

Op 2-11-2010 12:53, Ingo Schmitt schreef:
> Hi,
>
> basketHashValue calculates a hash an basis of your items in the basked. If you have a webpage where on the produktpage the amount of an article is rendered in the input-field, the content on the produktpage must be "perUser" or "perUserHavingTheSameAmountInTheBasket". So the idea was to have a cache identified as the basketcontet to have the possibility of caching the whole page.
>
> So, if you have a shop, where the amount the user has in the basket is not rendered in the Produktcpage you ca switch of the baskethasvalue. If you set the plugin to user_int you can do the same.
>
> ingo
>
>> Alright, thanks for your response. This is an interesting read.
>>
>> Now I'm still not sure how the basketHashValue works, but the conclusion is clear.
>>
>> Thanks all!
>>
>> Op 2-11-2010 11:30, Georg Schönweger schreef:
>>> Hi,
>>>
>>> http://lists.typo3.org/pipermail/typo3-project-commerce/2009-September/003013.html
>>>
>>> .. i think basketHashValue is only usefull if you are using several
>>> usergroups with different prices and/or stock handling. We deactivated
>>> it without any problems and have now nice Urls and faster page load.
>>>
>>> greetings, Georg
>>>
>>> Am 02.11.2010 10:30, schrieb Rik Willems:
>>>> Ok, very clear. Thank you.
>>>> But then, what is the use of basketHashValue?
>>>>
>>>> Thanks for thinking along.
>>>>
>>>> Op 2-11-2010 10:30, Ingo Schmitt schreef:
>>>>> Hi Rik,
>>>>>
>>>>> yes. Since no FE user can be tracked by TYPO3.
>>>>>
>>>>> Ingo
>>>>>
>>>>>> Hi Morten,
>>>>>>
>>>>>> Sounds interesting. But, when I turn of cookies the basket doesn't
>>>>>> work at all, even with the basketHashValue. Is that normal?
>>>>>>
>>>>>> Cheers
>>>>>>
>>>>>> Op 2-11-2010 10:04, Morten Haggren schreef:
>>>>>>> Hi Rik,
>>>>>>>
>>>>>>> try disabling cookies and see if the basket still loads with out it ;)
>>>>>>>
>>>>>>> /Morten Haggren
>>>>>>>
>>>>>>> On 2010-11-02 09:56, Rik Willems wrote:
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> When you add a product to the basket each url in commerce gets
>>>>>>>> appended
>>>>>>>> with a basketHashValue. Is this value actually necessary? To me it
>>>>>>>> seems
>>>>>>>> that removing the value loads each page correctly. I don't really
>>>>>>>> like
>>>>>>>> it because it produces ugly URLs. Any insights on this are very much
>>>>>>>> appreciated.
>>>>>>>>
>>>>>>>> Cheers! Rik
>>>>>>>
>>>>>>>
>>>>>> _______________________________________________
>>>>>> TYPO3-project-commerce mailing list
>>>>>> TYPO3-project-commerce at lists.typo3.org
>>>>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-commerce
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> Mit freundlichen Gruessen
>>>>> Ingo Schmitt
>>>>>
>>>> _______________________________________________
>>>> TYPO3-project-commerce mailing list
>>>> TYPO3-project-commerce at lists.typo3.org
>>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-commerce
>> _______________________________________________
>> TYPO3-project-commerce mailing list
>> TYPO3-project-commerce at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-commerce
>>
>>
>
>
> Mit freundlichen Gruessen
> Ingo Schmitt
>


More information about the TYPO3-project-commerce mailing list