Prestashop 1.7 doesn't have option to enter API key in administration to make Google Maps working. If you want to have Google Maps in order detail, you have to edit core file manually.

Edit /controllers/admin/AdminOrdersController.php

and change this line (in setMedia function):

$this->addJS('https://maps.googleapis.com/maps/api/js?v=3.exp');

to this:

$this->addJS('https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&key=YourAPIKey');

Of course, place your own API key. To get the key, please see this documentation.

Comments

This website uses cookies to enable it to perform properly. Details of the cookies and instructions on how to disable them can be found in the cookie policy. By using this website, you agree to our use of cookies.