Post by jyang » Fri Jan 20, 2017 2:16 pm

I try to add some products in featured products modules. But, I find that some products can not be displayed in the dropdown list when I input those products' name! Does anyone meet this problem and know how to solve it? Thanks in advance!

User avatar
Newbie

Posts

Joined
Sat Jul 24, 2010 8:44 am

Post by thekrotek » Fri Jan 20, 2017 4:42 pm

You mean autocomplete field? You should enter part of the name from the start. For example, if you want to add iPhone, you need to type "iph", not "pho".

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by artcore » Fri Jan 20, 2017 6:48 pm

An undocumented 'trick' is to use % as wildcard. So you can search iphone by typing %pho

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 jyang » Sat Jan 21, 2017 10:15 am

artcore wrote:An undocumented 'trick' is to use % as wildcard. So you can search iphone by typing %pho
Thanks for your reply! Yes, the % wildcard is very useful!
But, I also find that the maximum number of products in the listing box is 5.
Do you know how to change this number?

User avatar
Newbie

Posts

Joined
Sat Jul 24, 2010 8:44 am

Post by thekrotek » Sat Jan 21, 2017 4:30 pm

You need to change it in autocomplete() function. But this will change number of products in dropdown list all over your store.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by IP_CAM » Mon Jan 23, 2017 2:11 am

check here for Extensions, changing the autocomplete function behaviour:
https://www.opencart.com/index.php?rout ... tocomplete
Good Luck ! ;)
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 8 guests