I am trying to change the default 15 products per page on category view. I have looked through guides but they don't seems to apply for OC 2.3.0.2 as the option in the store settings menu is for admin only and doesn't change front end.
What i am trying to do is change the deafult of 15 to say 100. I cannot find which file controls or lists these values to be able to change them.
If anyone could provide any help that would be great.
goto admin of your site then extensions/extensions and choose themes from the dropdown
click to edit your theme and you will see Default Items Per Page.....
You can change it there.
But also be aware in catalog/controller/product/category.php you have the array of limits like below
So you may have to alter this to suit your new value
click to edit your theme and you will see Default Items Per Page.....
You can change it there.
But also be aware in catalog/controller/product/category.php you have the array of limits like below
Code: Select all
$limits = array_unique(array($this->config->get($this->config->get('config_theme') . '_product_limit'), 25, 50, 75, 100));
Thank you for your reply. going to extensions>themes and changing the products per page worked like a charm.cyclops12 wrote:goto admin of your site then extensions/extensions and choose themes from the dropdown
click to edit your theme and you will see Default Items Per Page.....
You can change it there.
But also be aware in catalog/controller/product/category.php you have the array of limits like belowSo you may have to alter this to suit your new valueCode: Select all
$limits = array_unique(array($this->config->get($this->config->get('config_theme') . '_product_limit'), 25, 50, 75, 100));
I need to change it at my search page only. Can you please tell me where you added it and worked?
Opencart 3.0.3.6 + Journal 3
Opencart 3.0.3.6 + Journal 3
So please add [SOLVED] to the start of this post title.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Guru Member
Who is online
Users browsing this forum: No registered users and 240 guests