SBD Posted June 30, 2016 Share Posted June 30, 2016 A recent google maps update now requires the creation of an API key to access the maps feature. For a time, URL's previously used to access the map will continue to function, but new stores will require their own key. This results in the store map feature; Preferences => Store Contacts => Show simplified store locator=NO first showing the map briefly, then an error message; "Oops! Something went wrong This page didn't load Google Maps correctly. See the JavaScript console for technical details" js?sensor=true®ion=AU:32 Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error A guide to obtaining and implementing the key is here https://developers.google.com/maps/documentation/javascript/get-api-key#get-an-api-key But, I've no idea how to get it into Presta Shop, I can't find where the maps function is called from. Obviously the interface is going to need to be altered in future to allow a key to be entered. For the time being, does anyone know where it can be edited in? Link to comment Share on other sites More sharing options...
davidell Posted July 1, 2016 Share Posted July 1, 2016 (edited) It's relatively simple if you've set up the API correctly.The code is found in: \controllers\front\StoresController.php Look for the code: Add ?key=[YOUR API KEY] after //maps.google.com/maps/api/js &plus any other parameters.Hope that helps? Edited July 1, 2016 by davidell (see edit history) 1 Link to comment Share on other sites More sharing options...
Goyo Posted July 10, 2016 Share Posted July 10, 2016 Hi, you have in the next link some information to solve this: https://www.prestashop.com/forums/topic/539319-store-map-error-missing-api-key/ Regards. Link to comment Share on other sites More sharing options...
nnd_newbie Posted July 15, 2016 Share Posted July 15, 2016 But search store facility still doesn't work. It results "not found" on any address. Any help? Link to comment Share on other sites More sharing options...
samsootho Posted August 15, 2016 Share Posted August 15, 2016 But search store facility still doesn't work. It results "not found" on any address. Any help? I have the same "not found" on any address issue. Can someone help, please? My site is http://levanzo.com.my/en/stores Link to comment Share on other sites More sharing options...
davidell Posted August 15, 2016 Share Posted August 15, 2016 samsootho, I think that may be a problem with your theme... drop me a PM and I'll take a look for you Link to comment Share on other sites More sharing options...
alexandrieb Posted November 26, 2016 Share Posted November 26, 2016 Hi I'm the same problem with my back office when I create a order... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now