Hi
I'm using Opencart 2.3.0.2
On the category page there's a drop down for how many products to show on page... 25/50/75/100..
I'm trying to add a SHOW ALL to this list where it'll list all in category... however google searches only bring up a show all products for the whole website and not per category.
Any help?
So
catalog/controller/product/catalog.php would be for example,
But not sure how to put the ALL into practice?
catalog/controller/product/catalog.php would be for example,
Code: Select all
$data['limits'] = array();
$limits = array_unique(array($this->config->get($this->config->get('config_theme') . '_product_limit'), 50, 75, 100, ALL));
By using an extension.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
It's not as easy as it seems. You need also to modify getProducts() function in product model.
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
Thanks. Looked but couldn't find. But thanks. ☺
If you didn't find, how to solve even this simple issue, then your coding skills are close to none and you should ask a professional to do this for you. Some tasks require skills.
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
Who is online
Users browsing this forum: No registered users and 60 guests