[Typo3-shop] no products in ###email_plaintext_template###
Franz Holzinger
franz at fholzinger.com
Tue Sep 13 19:13:19 CEST 2005
Rick - Futuros a écrit :
> Thanks for the quick response. But this function has no (relevant)
> change since my version of ttproducts (2.2.3).
>
> The template marker substitution happens in the function getBasket() and
> this is where the problem probably is. But this function hasn't changed
> much either.
>
> I have 'analysed' this function but i can't find out why everything
> works fine for templates like the basket and doesn't for
> ###EMAIL_PLAINTEXT_TEMPLATE### while the function does exactly the same
> in both cases. Or doesn't it?
>
>> function finalizeOrder($orderUid, $orderConfirmationHTML) {
>>
>> ...
>>
>>
>> if (count($recipients)) { // If any recipients, then compile and
>> send
>> the mail.
>> $emailContent=trim($this->getBasket('###EMAIL_PLAINTEXT_TEMPLATE###'));
>>
>>
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.
Franz
More information about the TYPO3-project-tt-products
mailing list