AW: AW: AW: AW: [Typo3-UG Oesterreich] Shop Modul?

media.res | alex widschwendter a.widschwendter at mediares.at
Tue Feb 10 10:03:53 CET 2004


Anatol Mayr wrote:
> Habe jetzt das Shop-Modul auf einem anderen System (WinXP) installiert,
> meine Templates etc. dorthin überspielt und versucht das Shop-Modul zu
> verwenden.
> Wenn ich die Seite mit den Produkten (Plugin: Code:LIST) aufrufe erhalte ich
> folgende Warnings:
> 
> "Warning: Wrong datatype in ksort() call in
> c:\apache\htdocs\quickstart\typo3conf\ext\tt_products\pi\class.tx_ttproducts
> .php on line 636
> 
> Warning: Variable passed to reset() is not an array or object in
> c:\apache\htdocs\quickstart\typo3conf\ext\tt_products\pi\class.tx_ttproducts
> .php on line 637"

if (is_array($this->conf["shipping."]))
{
	ksort($this->conf["shipping."]);
	reset($this->conf["shipping."]);
}

oder mehrer shipping möglichkeiten im setup:

plugin.tt_products.shipping {
   10.title = Ground
   10.image.file = media/logos/pakketrans.gif
   10.image.params = align=absmiddle
   10.priceTax = 40
   10.priceNoTax = 32

   20.title = Airmail
   20.image.file = media/logos/postdanmark.gif
   20.image.params = align=absmiddle
   20.priceTax = 120
   20.priceNoTax = 120

   40.title = Pick up in store
   40.excludePayment = 10,40
}


hth

alex




More information about the TYPO3-at mailing list