[TYPO3-commerce] how to implement mini basket on all pages ?
heiko oezaykut
demm2 at web.de
Sun Jan 13 21:40:51 CET 2008
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
>
> 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
More information about the TYPO3-project-commerce
mailing list