how is the limit given.
Example: SELECT product_id FROM cscart_products where product_id limit 240
My problem:
list($products, $search) = fn_get_products($params, Registry::get('settings.Appearance.products_per_page'));
30000 products / settings.Appearance.products_per_page = 24
1250 pages product coming.
----------------
how to change this query and only 10 pages can come
settings.Appearance.products_per_page = 24
10 pages and 240 products
???
1250 pages product coming.
Change value of the Administration -> Appearance -> Products per page setting in the admin panel
\app\addons\bestsellers\controllers \ frontend\products.post.php
list($products, $search) = fn_get_products($params, Registry::get('settings.Appearance.products_per_page'));
products.bestsellers and products.newest page
there are now 300 pages.
No more than 10 pages of product.
I want to define a limit.
How can I interfere?
You can only increase amount of items per page. But it can affect page loading time