Hard limit 500 when loading attribute values (solved)
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Hard limit 500 when loading attribute values (solved)
Hi,
i have a problem getting all attributes of my imported products to be loaded in the frontend. The problem is, that only some attributes are shown in the filter list. I have searched in the code and found that in the controller src/Client/Html/Catalog/Filter/Atribute/Standard.php the filter values get loaded:
And even though there is a slice of 10.000 here I only get 500 items which looks to me that there must be a limit set. Because when I change the sort to e.g. '-position' to turn the ordering around I get also 500 but different values and therefore different attributes to be displayed in the filter list.
I have now searched in all config folders of all aimeos packages to see if there is a LIMIT of 500 in the predefined SQL statements but found nothing. Does someone else ever had this problem and fixed it?
I hope someone can help here. Thanks and kind regards
Patrik
i have a problem getting all attributes of my imported products to be loaded in the frontend. The problem is, that only some attributes are shown in the filter list. I have searched in the code and found that in the controller src/Client/Html/Catalog/Filter/Atribute/Standard.php the filter values get loaded:
Code: Select all
$attributes = \Aimeos\Controller\Frontend::create( $this->context(), 'attribute' )
->uses( $domains )->type( $attrTypes )->compare( '!=', 'attribute.type', ['date', 'price', 'text'] )
->sort( '-position' )->slice( 0, 10000 )->search();
I have now searched in all config folders of all aimeos packages to see if there is a LIMIT of 500 in the predefined SQL statements but found nothing. Does someone else ever had this problem and fixed it?
I hope someone can help here. Thanks and kind regards
Patrik
Last edited by pla on 26 Feb 2026, 09:22, edited 1 time in total.
Re: Hard limit 500 when loading attribute values
I have now found the solution to this problem by myself.
There is a configuration for that which was (at least for me) hard to find.
The limit can be changed with this setting:
Hope this helps someone else
There is a configuration for that which was (at least for me) hard to find.
The limit can be changed with this setting:
Code: Select all
tx_aimeos.settings.controller.frontend.common.max-size = 1000