Page 1 of 1

Manufacturer Autocomplete not working in 4.0.2.1 with iPhone

Posted: Thu Aug 10, 2023 9:12 pm
by ww.p
Hello!
Manufacturer Autocomplete does not work when I add products in the admin panel with iPhone.
Manufacturer List is showing, but can not select. The same problem with Safari or Google Chrome.
Only does not work with iPhone. No problem with a Android Device or Windows PC.

oc4.0.2.1
iOS16.5.1

Best regards
ww

Re: Manufacturer Autocomplete not working in 4.0.2.1 with iPhone

Posted: Thu Aug 10, 2023 10:58 pm
by ADD Creative
Looks like this is a known issue. Sadly it's another one that has been closed without a fixing. https://github.com/opencart/opencart/issues/12344

There is a suggested fix.
https://github.com/opencart/opencart/is ... 1609799356

Re: Manufacturer Autocomplete not working in 4.0.2.1 with iPhone

Posted: Fri Aug 11, 2023 10:50 pm
by ww.p
@ADD Creative
Thank you so much for looking into the problem.
I added an if condition as below instead of comment out $dropdown.removeClass('show');

Code: Select all

let ua = window.navigator.userAgent.toLowerCase();
if(ua.indexOf('iphone') === -1 && ua.indexOf('ipad') === -1) {
     $dropdown.removeClass('show');
}

Re: Manufacturer Autocomplete not working in 4.0.2.1 with iPhone

Posted: Fri Aug 11, 2023 10:56 pm
by JNeuhoff
You shouldn't yet use OpenCart 4 for production sites, it's still too much subject to bugfixes and development.

The Safari browser tends to be nightmare to be supported these days ...

Re: Manufacturer Autocomplete not working in 4.0.2.1 with iPhone

Posted: Mon Sep 25, 2023 7:08 am
by craigbaines
Did this fix your issue? Im on 4.0.2.3 an it doesn't seem to help! SO frustrating.....

Re: Manufacturer Autocomplete not working in 4.0.2.1 with iPhone

Posted: Mon Sep 25, 2023 5:08 pm
by ADD Creative
craigbaines wrote:
Mon Sep 25, 2023 7:08 am
Did this fix your issue? Im on 4.0.2.3 an it doesn't seem to help! SO frustrating.....
Did you try the solutions posted above?

Re: Manufacturer Autocomplete not working in 4.0.2.1 with iPhone

Posted: Tue Sep 26, 2023 12:58 am
by craigbaines
I did yeah, it made no difference for me. I'm not sure if it's me being dumb. The change definitely took effect, I checked it with some random alerts thrown in.

*edit: yep, it was night night brain fog at play. I was editing the wrong line. $dropdown.removeClass('show'); repeats 10 or so lines below, doh!

Re: Manufacturer Autocomplete not working in 4.0.2.1 with iPhone

Posted: Tue Nov 14, 2023 4:22 am
by agenziarc@yahoo.com
how did you solve it, I can't solve it. Does not work with iPhone and iPad

Re: Manufacturer Autocomplete not working in 4.0.2.1 with iPhone

Posted: Tue Nov 14, 2023 4:59 am
by ADD Creative
agenziarc@yahoo.com wrote:
Tue Nov 14, 2023 4:22 am
how did you solve it, I can't solve it. Does not work with iPhone and iPad
What have you tried?

Re: Manufacturer Autocomplete not working in 4.0.2.1 with iPhone

Posted: Tue Nov 14, 2023 5:58 am
by agenziarc@yahoo.com
autocomplete order admin customer. but not only

Re: Manufacturer Autocomplete not working in 4.0.2.1 with iPhone

Posted: Tue Nov 14, 2023 5:14 pm
by ADD Creative
agenziarc@yahoo.com wrote:
Tue Nov 14, 2023 5:58 am
autocomplete order admin customer. but not only
Have you read through this topic and tried the suggested fixes?

Re: Manufacturer Autocomplete not working in 4.0.2.1 with iPhone

Posted: Wed Nov 15, 2023 12:36 am
by agenziarc@yahoo.com
I can't figure out what and where to add the correction

Re: Manufacturer Autocomplete not working in 4.0.2.1 with iPhone

Posted: Wed Nov 15, 2023 12:38 am
by agenziarc@yahoo.com
if the file is common.js to be corrected in admin, can you send it corrected? I have version 4.0.2.3.

Re: Manufacturer Autocomplete not working in 4.0.2.1 with iPhone

Posted: Wed Nov 15, 2023 3:16 am
by ADD Creative
agenziarc@yahoo.com wrote:
Wed Nov 15, 2023 12:38 am
if the file is common.js to be corrected in admin, can you send it corrected? I have version 4.0.2.3.
Line 488 in admin/view/javascript/common.js.
https://github.com/opencart/opencart/bl ... on.js#L488

It is.

Code: Select all

$dropdown.removeClass('show');
You could comment it out as below or remove it,

Code: Select all

//$dropdown.removeClass('show');
Or try to change it to the following.
viewtopic.php?t=231839#p860353

Re: Manufacturer Autocomplete not working in 4.0.2.1 with iPhone

Posted: Wed Nov 15, 2023 4:21 am
by agenziarc@yahoo.com
Thanks solved with // . Why doesn't Opencart modify the file for the future? Thank you