Post by ww.p » Thu Aug 10, 2023 9:12 pm

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

Newbie

Posts

Joined
Mon Oct 03, 2022 6:14 pm

Post by ADD Creative » Thu Aug 10, 2023 10:58 pm

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

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by ww.p » Fri Aug 11, 2023 10:50 pm

@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');
}

Newbie

Posts

Joined
Mon Oct 03, 2022 6:14 pm

Post by JNeuhoff » Fri Aug 11, 2023 10:56 pm

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 ...

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by craigbaines » 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.....

New member

Posts

Joined
Wed Jun 25, 2014 8:39 am

Post by ADD Creative » Mon Sep 25, 2023 5:08 pm

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?

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by craigbaines » Tue Sep 26, 2023 12:58 am

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!

New member

Posts

Joined
Wed Jun 25, 2014 8:39 am

Post by agenziarc@yahoo.com » Tue Nov 14, 2023 4:22 am

how did you solve it, I can't solve it. Does not work with iPhone and iPad

New member

Posts

Joined
Sun Jan 02, 2022 10:40 pm

Post by ADD Creative » Tue Nov 14, 2023 4:59 am

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?

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by agenziarc@yahoo.com » Tue Nov 14, 2023 5:58 am

autocomplete order admin customer. but not only

New member

Posts

Joined
Sun Jan 02, 2022 10:40 pm

Post by ADD Creative » Tue Nov 14, 2023 5:14 pm

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?

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by agenziarc@yahoo.com » Wed Nov 15, 2023 12:36 am

I can't figure out what and where to add the correction

New member

Posts

Joined
Sun Jan 02, 2022 10:40 pm

Post by agenziarc@yahoo.com » 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.

New member

Posts

Joined
Sun Jan 02, 2022 10:40 pm

Post by ADD Creative » Wed Nov 15, 2023 3:16 am

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

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by agenziarc@yahoo.com » Wed Nov 15, 2023 4:21 am

Thanks solved with // . Why doesn't Opencart modify the file for the future? Thank you

New member

Posts

Joined
Sun Jan 02, 2022 10:40 pm
Who is online

Users browsing this forum: No registered users and 1 guest