I'm using Opencart 22.214.171.124
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.
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));
The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.
Programmer / Opencart Tester
It's not as easy as it seems. You need also to modify getProducts() function in product model.
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.
Users browsing this forum: No registered users and 27 guests