[TYPO3] tt_products & orders: list
JiriMikula.cz
servis at jirimikula.cz
Sat Mar 4 19:13:35 CET 2006
great! many thanks franz.
any one idea:
class.tx_ttproducts_order_view.php
change line 74: $res =
$GLOBALS['TYPO3_DB']->exec_SELECTquery('*', 'sys_products_orders',
'feusers_uid='.$feusers_uid.' AND NOT deleted ORDER BY crdate');
add (e.g. line 94): $markerArray['###ORDER_AMOUNT###'] =
$this->pibase->price->printPrice($this->pibase->price->priceFormat($row['amount']));
+ marker ###ORDER_AMOUNT### in template
screenshot: http://jirimikula.cz/_temp/typo3/tt_products-amount.png
but this not required...
Jiri
Franz Holzinger napsal(a):
> Hello Jiri,
>
>> 2.4.8.3 - same problem
>>
>> i try this:
>>
>> class.tx_ttproducts_p1.php - line 238
>>
>> ///$orderView->init($this, $this->conf, $this->config, $this->basket);
>> $orderView->init($this, $this->conf, $this->config, $this->basket,
>> $this->order);
>> $contentTmp=$orderView->printView();
>> //$contentTmp=$memoView->printView($this->templateCode, $error_code);/
>>
>> class.tx_ttproducts_order_view.php - line 68
>>
>> /function printView(&$templateCode, &$error_code) {/
>>
>> and line 74, 78 - change /$this->basket->templateCode/ to /$templateCode/
>>
>> my test version tt_products -
>> http://jirimikula.cz/_temp/typo3/tt_products-2.4.8.3.1.zip
>> screenshot (only test template) -
>> http://jirimikula.cz/_temp/typo3/orders-list-beta.png
>>
More information about the TYPO3-english
mailing list