[TYPO3-shop] SingleView-query - 3 extra database-fields
Daniel Brüßler
info at -remove-patchworking.de
Tue Jul 10 16:02:55 CEST 2007
Hello Franz,
it's not clear to me where to look and what to look for.
In class tx_ttproducts_single_view/ printView there's this:
$itemTableConf[$this->type] =
$this->cnf->getTableConf($itemTableArray[$this->type]->table->name,
'SINGLE');
In tx_ttproducts_article_base/ init this:
$this->tableconf = $this->cnf->getTableConf($tablename);
In tx_ttproducts_product this function:
getItemMarkerArray (&$item, &$markerArray, $catTitle, &$basketExt,
$imageNum=0, $imageRenderObj='image', &$tagArray,
$forminfoArray=array(), $code='', $id='1')
In tx_ttproducts_article_base/ this function:
getNeededUrlParams($theCode)
## So which place to you mean? ;-)
kind regards
Daniel
>> But why doesn't that work for the SINGLE-view?
>> conf.tt_products.ALL.requiredFields = ...
>> conf.tt_products_articles.ALL.requiredFields = ...
>> conf.tt_products.SINGLE.requiredFields = ...
>
> You must modify the call of tx_ttproducts_product and add the $theCode
> parameter here.
More information about the TYPO3-project-tt-products
mailing list