How to increase number of categories in autocomplete box

April 7, 2015 - By 
category autocomplete

In this post, we will continue to improve OpenCart 2 with a small trick. Did you encounter a case when you want to select categories for product but the autocomplete box only shows 5 categories like the image below?

category autocomplete

We will show you how to increase the number of categories in the autocomplete box. It is a easy step.

You can go to file admin/controller/catalog/category.php, find

and change 5 to number of categories you want to display.

For example,

 

  • Nirmal

    Awesome!!

  • Cindy B

    Thank you, you saved my sanity! I was going nuts trying to figure out the categories problem.