[TYPO3-commerce] basketHashValue

Rik Willems rik at actiview.nl
Tue Nov 2 15:28:35 CET 2010


Hi Ingo,

Thanks for your extra explanation. I'm afraid I don't understand it 
entirely.

Is the basketHashValue for pi1 or for pi2? I think pi2, is that correct?

You create a hash for basket content. So, if you have exactly the same 
basket content has another user it doesn't have to be genereated. Correct?

Making pi2 a user_int allows me to remove basketHashValue. Georg 
mentions stock and prices for groups. Is this safe without basketHashValue?

Thanks, again, 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