Post by Ivakis_Solo » Mon May 30, 2016 5:01 pm

Hi, I'm in a need of a way to scroll the autocomplete result. I have on my opencart many categories with the same name and when I try to put a product in a category the autocomplete is not usable. Is there a way to make the autocomplete results scroll, I didn't find a mod for it in the extensions.

User avatar
Newbie

Posts

Joined
Wed Feb 10, 2016 10:59 pm
Location - Bulgaria

Post by cyclops12 » Mon May 30, 2016 10:00 pm

Didnt look very hard ;D

Try Here

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by Ivakis_Solo » Thu Jun 02, 2016 8:10 pm

I know about this mod and I use it. The problem is that when I set the autocomplete limit to 35 000 the admin panel is VERY slow and practically unusable.
What I need is a way to type "Съединители" in the category type box and then scroll the autocomplete results!

User avatar
Newbie

Posts

Joined
Wed Feb 10, 2016 10:59 pm
Location - Bulgaria

Post by cyclops12 » Fri Jun 03, 2016 4:16 am

Ah i see what you mean now, sorry not sure on that one

hopefully someone will come along soon with an answer

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by 2valenki » Wed Oct 12, 2016 9:20 pm

Ivakis_Solo wrote:I know about this mod and I use it. The problem is that when I set the autocomplete limit to 35 000 the admin panel is VERY slow and practically unusable.
What I need is a way to type "Съединители" in the category type box and then scroll the autocomplete results!
Hi Ivakis. Suppose you've resolved your issue, but I've been looking for the same lately and managed to come up with a working alteration. Just added this style and got the scrollable results! (don't forget to press Ctrl+F5 for cache cleaning)

.dropdown-menu {
max-height: 250px;
max-width: 450px;
overflow-x: hidden; /* avoid horizontal scrolling */
}

While searching a lot of suggestions to provide the following part of css code arised:

.ui-autocomplete{
max-height: 200px;
overflow-y: auto;
overflow-x: hidden;
}

But this had to do with jquery autocomplete itself, not combined with Opencart. Doesn't work for me.


Hope this helps.
Last edited by 2valenki on Sat Oct 15, 2016 5:01 am, edited 1 time in total.

Newbie

Posts

Joined
Wed Apr 27, 2016 4:38 am

Post by artcore » Wed Oct 12, 2016 10:07 pm

I'm sure your results have unique words so for instance if you have a categories like
"New and Used Cars (shift)"
"New and Used Cars (Automatic)"
etc more similar...

... try searching for %shift

Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: OpenCart version 3+ ;D

Thanks!


User avatar
Active Member

Posts

Joined
Tue Jul 09, 2013 4:13 am
Location - The Netherlands

Post by kagomiko » Fri Oct 30, 2020 7:55 pm

2valenki wrote:
Wed Oct 12, 2016 9:20 pm
Ivakis_Solo wrote:I know about this mod and I use it. The problem is that when I set the autocomplete limit to 35 000 the admin panel is VERY slow and practically unusable.
What I need is a way to type "Съединители" in the category type box and then scroll the autocomplete results!
Hi Ivakis. Suppose you've resolved your issue, but I've been looking for the same lately and managed to come up with a working alteration. Just added this style and got the scrollable results! (don't forget to press Ctrl+F5 for cache cleaning)

.dropdown-menu {
max-height: 250px;
max-width: 450px;
overflow-x: hidden; /* avoid horizontal scrolling */
}

While searching a lot of suggestions to provide the following part of css code arised:

.ui-autocomplete{
max-height: 200px;
overflow-y: auto;
overflow-x: hidden;
}

But this had to do with jquery autocomplete itself, not combined with Opencart. Doesn't work for me.


Hope this helps.

I'm thankful to you, this solved my problem :D

Newbie

Posts

Joined
Tue Oct 13, 2020 5:57 pm
Who is online

Users browsing this forum: No registered users and 42 guests