Jump to content

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!

Share this post


Link to post
Share on other sites

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

 

 

Share this post


Link to post
Share on other sites

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
 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More