Dear All,
I want to retrieve ALL products according to some criteria regardless the number of max rows.
I am using "kkAppEng.getProductMgr().searchForProducts(ps)". This method always return 20 records and make paging. I wnat to get the whole records.
Appreciate your quick response
You can configure this in the admin app. The section to look at is Configuration >> Maximum Values, and the variable to set is labelled "Search Results" which defaults to 20.
I know that I can change the number returned from the search results in the admin configuration. But what I am asking if I want to retrieve ALL the products, what is the value I have to set in Maximum Values?? i tried -1 but it didn't accept it.
You have to set a limit. If you want all products, just put in a high number, bearing in mind that they will all be transferred to your browser and so could provide a slow user experience if there are too many.