[TYPO3-shop] SingleView-query - 3 extra database-fields

Marcus Schwemer schwemer at netzwerkberatung.de
Mon Jul 2 17:19:08 CEST 2007


Hi Daniel,

Daniel Brüßler wrote:

> ++-------
> In LIST-view I get the extra fields with the setting
> conf.tt_products.ALL.requiredFields = ...
> and
> conf.tt_products_articles.ALL.requiredFields = ...
> 
> and can set the extra markers in model/tx_ttproducts_article_base /
> function getItemMarkerArray. That works :-)
> ++-------
> 
> But why doesn't that work for the SINGLE-view?
> 
> I've set this:
> ++-------
> conf.tt_products.ALL.requiredFields = ...
> and
> conf.tt_products_articles.ALL.requiredFields = ...
> and (!)
> conf.tt_products.SINGLE.requiredFields = ...
> 
> ++-------
> 
> When code=SINGLE the xdebug shows the right values for TableConf/
> requiredFields, BUT the $row - array just has the default fields. It
> ignores my three requiredFields - settings.
> 
> 
> ## now my question: Which class or function needs a change or
> ## workaround
> for the SINGLE-query?

This sound quite similar to my problem, that I had this weekend
extending tt_products.

Try using "PRODUCT" instead of "SINGLE". 

I don't know whether it's the solution, just a guess.

Greets,
Marcus




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