[Typo3-shop] no products in ###email_plaintext_template###

Rick [Futuros] typo3 at futuros.nl
Wed Sep 14 16:00:25 CEST 2005


>
> You have to debug this and check the $this->itemArray variable.
> Maybe this has been deleted somehow.
> If the ###ITEM_LIST### part is missing then the basket is empty.
>

 function finalizeOrder($orderUid, $orderConfirmationHTML) {

 ...

 if (count($recipients)) { // If any recipients, then compile and send the 
mail.
 $emailContent=trim($this->getBasket('###EMAIL_PLAINTEXT_TEMPLATE###'));

Before and after the last line the itemArray is still filled correctly. So 
this isn't the problem, I guess.

I also tried:
$emailContent=trim($this->getBasket('###BASKET_PAYMENT_TEMPLATE###'));
die($emailContent)

The items don't get displayed in the payment template. While this aint a 
problem normally.
So it has something to do with the position of the getBasket function call 
and with what has happened before it. But I can't figure out what is wrong.






More information about the TYPO3-project-tt-products mailing list