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

Jogvan Olsen jo at atlanticvideo.dk
Wed May 6 15:45:22 CEST 2009


Thank you
I need up to 40 related products for some of mine products - it would be 
nice if it could be changed, and maybe also the size of the 'Related 
products' window in the flex form.

Can I just change this number in my installation and reinstall tt_products?

regards
Jogvan Olsen



Franz Holzinger skrev:
> 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