[TYPO3-shop] How can I generate a bill?
Franz Holzinger
franz at fholzinger.com
Sat Mar 4 22:14:48 CET 2006
Hello Jan,
>
> I updated the shop to the latest version and extended my template.
> But I still get these errors (Why? I don't know):
>
> Warning: Invalid argument supplied for foreach() in
> /home/scoutdoo/public_html/scoutshop/typo3conf/ext/tt_products/lib/class.tx_ttproducts_billdelivery.php
> on line 130
>
// loop over all items in the ordered items indexed by page and itemnumber
foreach ($itemArray as $pid=>$pidItem) {
This $itemArray must never be empty. So this means that your basket has
been empty when you have finished the order.
The bill creation is only possible for orders with products sold.
You can debug the $orderRow.
Franz
More information about the TYPO3-project-tt-products
mailing list