Jump to content

Store Locator Map Not Showing Anymore


Recommended Posts

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

  • 1 month later...

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

  • 10 months later...
  • 8 months later...
  • 2 years later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...