[TYPO3-commerce] how to implement mini basket on all pages ?

J.Bakshi joydeep at infoservices.in
Tue Jan 15 07:13:29 CET 2008


heiko oezaykut wrote:
> Hi,
>
> #you need a free content columns e.g. maybee ... with the extension "zed_more_columns" (or not ...)
> #create a sysfolder 
> #put the commerce - cart - contentelemt an put the following code in the field :  QUICKVIEW
>
> # next add you typoscript... an example with subparts...
> subparts.spalte_fuenf < styles.content.get
>          subparts.spalte_fuenf {
>          select {
>              pidInList = 4373  // a uid (unique id)
>              where = colPos = 3 // a number of the table "colPos" from tt_content 
>
>                              }
>              stdWrap.required = 1
>              stdWrap = |
>              languageField = sys_language_uid
>      	      }
>
>
> here you have see the minibasket on all pages 
>
> .... regards heiko 
>   

Hi Heiko,

First of all thanks for your kind response and at the same time I am
very much afraid to mention that I am not very much clear about the
steps you have given here.  may I ask your kind attention one more ?
and if I get it I'll be very much grateful to you.

what I have done so far based on your response
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`~~~~
1> I already have a Basket page with "basket:plugin" installed there
2> I have installed the "zed_more_columns" extension and I get the fifth
column.
3> In the third column of the basket page I already have the "commerce :
basket" plugin, I have added the same plugin in
the fifth column too and added the QUICKVIEW in the code section.

4> In the TSconfig section of the root page I have added
mod.SHARED.colPos_list = 3,1,0,2,4

5> In the TSsetup of the root template I have added the configuration
provided by you

subparts.spalte_fuenf < styles.content.get
         subparts.spalte_fuenf {
         select {
             pidInList = 4373  // a uid (unique id)
             where = colPos = 3 // a number of the table "colPos" from tt_content 

                             }
             stdWrap.required = 1
             stdWrap = |
             languageField = sys_language_uid
     	      }


PidInList = the pid of the basket ; right ?

but I have no mini basket at all.

Heiko, I can understand that some configuration problem may be the
culprit but I really don't know the actual misconfigured part.
It would be really great if you kindly point out my mistake.

More over I have also tried the configuration given in the English wiki
for mini basket. Unfortunately it has not worked out in my case.

thanks


>
>
>
>   
>> J.Bakshi wrote:
>>
>> Sorry to forget but I also have
>>
>> # basket
>>  plugin.tx_commerce_pi2.templateFile = {$templatePathCommerce}basket.tmpl
>>
>> in TSsetup
>>
>>
>>     
>>> Hi Thomas Juhnke,
>>>
>>> thanks for your kind response.
>>>
>>> But I think I hv done the same :-)
>>>
>>> in my constant part I have
>>> templatePathCommerce = fileadmin/commerce/
>>>
>>> I already have the shoppingcart.tpl in fileadmin/commerce/ as basket.tmpl
>>> ( as shown in the english wiki)
>>>
>>> hence the code I use in TSsetup is
>>>
>>> ## mini Basket on all pages
>>>  lib.minibasket = COA
>>>  lib.minibasket {
>>>    21 < plugin.tx_commerce_pi2
>>>    21.defaultCode >
>>>    21.defaultCode = QUICKVIEW
>>>    21.templateFile = {$templatePathCommerce}basket.tmpl
>>>  }
>>>
>>> Please suggest if I have done any mistake or missesd some thing.
>>>
>>> thanks
>>>
>>>
>>>   
>>>       
>>>> Hello J.Bakshi,
>>>>
>>>> please use
>>>>
>>>> 21.templateFile = {$plugin.tx_commerce_pi2.templateFile}
>>>>
>>>> instead of
>>>>
>>>> 21.templateFile = {$templatePathCommerce}basket.tmpl
>>>>
>>>> and configure the constant with the constant editor.
>>>>
>>>> Thomas
>>>>
>>>> J.Bakshi schrieb:
>>>>   
>>>>     
>>>>         
>>>>> Dear list,
>>>>>
>>>>> I am trying to implement the mini basket in all the pages.
>>>>> To do this I havd added the code below at mt TSsetup section
>>>>>
>>>>> ~~~~~~~~~~~~~~~~~~~~~
>>>>> # mini Basket on all pages
>>>>> lib.minibasket = COA
>>>>> lib.minibasket {
>>>>>   21 < plugin.tx_commerce_pi2
>>>>>   21.defaultCode >
>>>>>   21.defaultCode = QUICKVIEW
>>>>>   21.templateFile = {$templatePathCommerce}basket.tmpl
>>>>> }
>>>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>
>>>>> but still no success :-(
>>>>>
>>>>> Then I tried ti enter QUICKVIEW in the code section of commerce:Basket
>>>>> but after saving I found it is not taking the value. The code section is
>>>>> still empty. I have tried the same for a no. of times but same result
>>>>> every tome. Could any one kindly enligten me to fix the problem ?
>>>>> thanks
>>>>>
>>>>>     
>>>>>       
>>>>>           
>>>> _______________________________________________
>>>> TYPO3-project-commerce mailing list
>>>> TYPO3-project-commerce at lists.netfielders.de
>>>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-commerce
>>>>
>>>>   
>>>>     
>>>>         
>>>   
>>>       
>> -- 
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Joydeep Bakshi, Linux System Admin
>> Kolkatainfoservices Pvt Ltd,
>> 23A Royd Street, Kolkata 700016, India
>> Work Phone 91 033 40014784
>> http://infoservices.in/
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>> _______________________________________________
>> TYPO3-project-commerce mailing list
>> TYPO3-project-commerce at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-commerce
>>
>>     
>
>
> _______________________________________________________________________
> Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage
> kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220
>
> _______________________________________________
> TYPO3-project-commerce mailing list
> TYPO3-project-commerce at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-commerce
>
>   


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Joydeep Bakshi, Linux System Admin
Kolkatainfoservices Pvt Ltd,
23A Royd Street, Kolkata 700016, India
Work Phone 91 033 40014784
http://infoservices.in/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the TYPO3-project-commerce mailing list