Page 1 of 1

To change the category dropdown menu from 5 to show all

Posted: Mon Apr 06, 2015 8:03 pm
by Arun Goutham
At the products section where we will assign our products to specific categories.

The problem comes from category dropdown menu which shows 5 categories only, even though there are tens of same brand products in database. It is the limit which had kept default in th eback end, so we have to change the code only from the backend.

So here we go :

edit: admin/controller/catalog/category.php

search for the autocomplete method

CODE: SELECT ALL
'limit' => 5 (default)

change the limit from 5 to 20 or 50.

Re: To change the category dropdown menu from 5 to show all

Posted: Sun Aug 02, 2015 8:01 am
by erhangazi84
you saved my life! this was what my customer asked me to do.

thanks a million!

Re: To change the category dropdown menu from 5 to show all

Posted: Thu Aug 06, 2015 6:36 am
by victorj
even better, use a autocomplete remover like this one works much faster when having a lot off categories

http://www.opencart.com/index.php?route ... est%20byte

Re: To change the category dropdown menu from 5 to show all

Posted: Wed Oct 21, 2015 1:07 am
by cindybee23
Arun I'm having trouble following you, I can't find edit: admin/controller/catalog/category.php

Is this for Opencart 2.0? I'm going crazy trying to fix the limit of five on the categories !! :crazy:

Re: To change the category dropdown menu from 5 to show all

Posted: Thu Oct 22, 2015 2:04 am
by fusiontech
cindybee23 Check the admin folder "admin/controller/catalog/category.php" this file is all versions of opencart.