Hi:
I just installed OpenCart and set it up with PayPal. It's working perfectly on my PC, but when I try to "add to cart" any item on my iPhone, it consistently sends up a message saying "error undefined. Close." Does it work on phones?
Thanks
Kenny
I just installed OpenCart and set it up with PayPal. It's working perfectly on my PC, but when I try to "add to cart" any item on my iPhone, it consistently sends up a message saying "error undefined. Close." Does it work on phones?
Thanks
Kenny
Hi Kenny
need more information OC version? Which theme?
it could be more helpful if you share the site url
Urgent Questions shoot here: khnaz35@gmail.com
Enjoy nature
I just tried my test OC 3.0.3.6 web site on my iPhone 6 (OS 13.6) and it too put up a window (see screen shot) that said "error undefined".
This is the default OC, no extensions added yet, still running basic tests on conversion.
Test site (which will be up and down at random) is https://www.flippers.com/catalog_oc_3036. Please don't buy anything shown- they do exist on my real store.
It does work fine on my desktop with FireFox 79.0 (Mac OS 10.13.6).
I'd say this is a bug!
Attachments
IMG_4124.PNG (748.57 KiB) Viewed 5873 times
Hmm, just tried it again, and it accepted the addition to the shopping cart....annoying! Also added subsequent items. Will close the Safari browser window and try again...
And now I can't get it to fail.
Must be something to do with caching on the iPhone I suspect...
And now I can't get it to fail.
Must be something to do with caching on the iPhone I suspect...
Thank you for your reply khnaz35.
The site url is https://www.onlinepianoteacher.org/keyboards/
However, as I said, "add to cart" works fine on my PC, but not on my iPhone, where instead I get "error undefined," just like the screenshot in the other post.
Thanks again
Kenny
The site url is https://www.onlinepianoteacher.org/keyboards/
However, as I said, "add to cart" works fine on my PC, but not on my iPhone, where instead I get "error undefined," just like the screenshot in the other post.
Thanks again
Kenny
You will run into CORS by directly accessing via www if that's not set in your config..
Try not accessing your site using
or update your config to use www if that's what you prefer, either way you will need a redirect for www or non www.
Try not accessing your site using
and try using
You need an .htaccess redirect for www to non www.
or update your config to use www if that's what you prefer, either way you will need a redirect for www or non www.
Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!
Other than the possible CORS issues, I noticed from other users experiences that iPhone's Safari browser can be more cumbersome in general. E.g. when developing a theme for OpenCart, make sure to test it separately with an iPhone device, too, in addition to Android, Windows, or Linux devices. Some standard events in iPhone's Safari browser fire up differently, and the Safari autofill function has issues.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
https://www.codecademy.com/articles/what-is-corsCould you expand the "CORS" acronym please?
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Who is online
Users browsing this forum: Semrush [Bot] and 513 guests