Hello,
Is there any way to remove pagination only in the search page?
I mean by editing catalog/controller/product/search.php
I want to remove config_product_limit value only for this page.
In other words, is there any way to have the search results page to show all products always?
thank you in advance!
Is there any way to remove pagination only in the search page?
I mean by editing catalog/controller/product/search.php
I want to remove config_product_limit value only for this page.
In other words, is there any way to have the search results page to show all products always?
thank you in advance!
Instead remove 'config_product_limit', how about edit value config_product_limit to 99999999?
Find :
$limit = $this->config->get('config_product_limit');
replace with :
$limit = '99999999';
Find :
$limit = $this->config->get('config_product_limit');
replace with :
$limit = '99999999';
I did try to replace in around line 62:
if (isset($this->request->get['limit'])) {
$limit = (int)$this->request->get['limit'];
} else {
$limit = $this->config->get('config_product_limit');
}
with:
if (isset($this->request->get['limit'])) {
$limit = '99999999';
} else {
$limit = '99999999';
}
but no luck.....
if (isset($this->request->get['limit'])) {
$limit = (int)$this->request->get['limit'];
} else {
$limit = $this->config->get('config_product_limit');
}
with:
if (isset($this->request->get['limit'])) {
$limit = '99999999';
} else {
$limit = '99999999';
}
but no luck.....
he probably just forgot, to reset/clear all the OC Cache Sections first...
Ernie

Ernie
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Who is online
Users browsing this forum: No registered users and 43 guests