[TYPO3-shop] Related products - Max item / Display Columns

Franz Holzinger franz at ttproducts.de
Tue May 5 19:24:18 CEST 2009


Hello Jogvan Olsen,
> It looks like I 'only' can insert maximum 12 Related products for each 
> products.
> 
> Is there a way I can change the number of maximum allow related products?
> 
This is defined in tca.php:

'related_uid' => Array (
	'exclude' => 1,
	'label' => 
'LLL:EXT:'.TT_PRODUCTS_EXTkey.'/locallang_db.xml:tt_products.related_uid',
	'config' => Array (
		'type' => 'group',
		'internal_type' => 'db',
		'allowed' => 'tt_products',
		'MM' => 'tt_products_related_products_products_mm',
		'foreign_table' => 'tt_products',
		'foreign_table_where' => ' ORDER BY tt_products.uid',
		'size' => 3,
		'minitems' => 0,
		'maxitems' => 12,
	),
),


I could increase this number if more than 12 are needed.

> Related Products - Display Columns
> Is is possebly to define the number displayed columns separately for 
> 'lisview' and 'replated products view'?
> 
> I have tried this:
> plugin.tt_products.conf.tt_products.LIST.displayColumns = 3
> plugin.tt_products.conf.tt_products.LISTCAT.displayColumns = 1
> but it doesn't seem to work for me.
> 
> The only thing that work for me is:
> plugin.tt_products.displayBasketColumns = 3
> and it apply to all listings.
This is the former setup.
The new one will work in tt_products 2.8.0.

- Franz



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