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