Jump to content

Affichage de la map storelocator en https


Recommended Posts

Bonjour,

 

Je rencontre un problème toutes les pages de mon site sont accessible en https, de ce fait il m'est impossible d'afficher

la carte google map.

 

pour essayer de résoudre ce problème j'ai modifié le fichier Il faut modifier le fichier se trouvant dans /controllers/front/StoresController.php

 

code source :

 

$this->addJS('http'.((Configuration::get('PS_SSL_ENABLED') && Configuration::get('PS_SSL_ENABLED_EVERYWHERE')) ? 's' : '').'

 

Code modifié :

 

$this->addJS('https'.((Configuration::get('PS_SSL_ENABLED') && Configuration::get('PS_SSL_ENABLED_EVERYWHERE')) ? 's' : '').'

 

 

En somme, j'ai ajouté le (s) à http mais la carte ne s'affiche toujours sur ma page.

 

Merci votre retour

Edited by Cedric31 (see edit history)
Link to comment
Share on other sites

  • 10 months later...

Prestashop 1.6.0.14 Disabled Google Maps Store Locator On Home Page

 

I get this error on my site:

SignatureNotRequired Warning

The signature parameter is not required for the Google Maps JavaScript API. It won't prevent the Google Maps JavaScript API from working correctly, but it may introduce security risks. Please remove it from your script element.

 

How to solve this?

 

I dont know where the javascrit is located.

 

Might the script <script src="http://maps.google.c.../js?sensor=true"></script> be self removed from stores.tpl?

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...