parts411test Posted April 12, 2014 Share Posted April 12, 2014 Hello everyone. I've been butchering and editing my prestashop website for the last 2-3 months now. I enabled the store locator block, and I was happy with how it was working during a test 2 weeks ago. I was able to correctly find stores and search the map correctly. I disabled it back to the "Easy Display" without the map and left it up until now. I went back and wanted to update store contacts and re-enable the google map that I had tested with 2 weeks prior. Now, theres no map at all showing on my end. I enabled errors and found nothing, but in my Google Chrome error console its saying "Uncaught ReferenceError: google is not defined" I've searched google fairly well looking for an answer, but have not found anything valuable in regards to a solution. The "non-map" version works fine and displays store hours and address and such. Please see my website below. My prestashop version is 1.5.6.1 https://www.psr-usa.com/store/stores/ Thank you all ahead of time! Link to comment Share on other sites More sharing options...
parts411test Posted April 14, 2014 Author Share Posted April 14, 2014 bump. anyone please help! This is urgent! Link to comment Share on other sites More sharing options...
skron Posted June 5, 2014 Share Posted June 5, 2014 Hello, maybe it's late but it could be usefull for others. It's because mixing http and https content and new browsers dont like it :-). Solution is simple, find files where you call <script src="http://maps.google.com/maps/api/js?sensor=true"> change http -> https. Most important file is in themes/your_template/stores.tpl - this will help for sure. Location of other files dont remember, but it makes "just alert in your console". Hope it helps Ondrej Link to comment Share on other sites More sharing options...
kamaaina Posted April 11, 2015 Share Posted April 11, 2015 I checked and my themes/your_template/stores.tpl does not have any code relating to <script src="http://maps.google.com/maps/api/js?sensor=true"> - where is this script??? Link to comment Share on other sites More sharing options...
Miguel Bambo Posted December 31, 2015 Share Posted December 31, 2015 I cant find also this script: <script src="http://maps.google.com/maps/api/js?sensor=true"> I would be gratefulif someone show me the file on Prestashop. Thanks in advance. Link to comment Share on other sites More sharing options...
Amy.Iness Posted July 19, 2018 Share Posted July 19, 2018 Hello, PrestaShop is a really good platform, which you can use in many different ways. So if you are having some troubles with Google Map on your website (which is based on Prestashop platform), then I recommend you to try our free and professional store locator - NearPlace. You can easily add it to your website, but if you don't know how to do it, then don't worry, because we did a special tutorial for you. Just check out How to add a Store Locator or Google Maps Addon to PrestaShop. Cheers, Amy from NearPlace 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