[TYPO3-commerce] basketHashValue

Ingo Schmitt is at marketing-factory.de
Tue Nov 2 15:51:20 CET 2010


Hi Rik,

in PI1 you could have the amount you have in your basket in the article-line. 

Ingo

> Hi Ingo,
> 
> Ok, I thought I had it but now I lost it again :-(. In what way does basketHashValue work with pi1? As the basket is rendered in pi2...
> 
> Thanks for your time.
> 
> Op 2-11-2010 15:34, Ingo Schmitt schreef:
>> Hi Rick,
>> 
>> 
>>> 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?
>> 
>> its for pi1.
>>> 
>>> 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?
>>> 
>> Yes.
>> 
>>> Making pi2 a user_int allows me to remove basketHashValue. Georg mentions stock and prices for groups. Is this safe without basketHashValue?
>>> 
>> pi2 is user_int.
>> 
>> Ingo
>> 
>> 
>>> 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
>>>> 
>>> _______________________________________________
>>> 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
> 
> 


Mit freundlichen Gruessen
Ingo Schmitt

-- 
Marketing Factory Consulting GmbH  *   mailto:is at marketing-factory.de
Stephanienstrasse 36               *          Tel.: +49 211-361176-63
D-40211 Duesseldorf, Germany       *          Fax:  +49 211-361176-99
Amtsgericht Duesseldorf HRB 53971  * http://www.marketing-factory.de/

Geschaeftsfuehrer:    Peter Faisst   |   Katja Faisst
Karoline Steinfatt   |   Christoph Allefeld   |   Markus M. Kimmel



More information about the TYPO3-project-commerce mailing list