[TYPO3-shop] tt_products and requiredFields

P. Arentzen typo3 at pegu.de
Tue Jun 10 12:40:12 CEST 2008


Hello,

in my user_bookshop extension I've defined some extra fields in table 
tt_products like this:

plugin.tt_products {

...
	conf.tt_products.ALL {
		requiredFields = 
uid,pid,category,price,price2,tax,inStock,user_bookshop_isbn,itemnumber,user_bookshop_alwaysinstock, 
user_bookshop_asin,user_bookshop_author,user_bookshop_reorder_days
	}

	# only a try but changes nothing
	conf.tt_products.SINGLE < conf.tt_products.ALL
}


These extra fields are accessed in method getItemMarkerArray which I 
implemented like Franz was telling me in my posting a few days ago.

While I can access these fields when LIST is displayed they aren't 
available in SINGLE view.

I've dumped $items in getItemMarkerArray and it seems that 
requiredFields is not recognized at all in SINGLE view.

Why?

Thanks in advance for your help.

Petra


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