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

J.Bakshi joydeep at infoservices.in
Fri Jan 11 13:21:34 CET 2008


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/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the TYPO3-project-commerce mailing list