Jump to content
haylau

Google Maps in Back Office

Recommended Posts

Prestashop 1.6.

 

Anyone else notice that Google maps do not work on the order page any more

 

2js:49 You have exceeded your request quota for this API. See https://developers.google.com/maps/documentation/javascript/error-messages?utm_source=maps_js&utm_medium=degraded&utm_campaign=billing#api-key-and-billing-errors
_.Fc @ js:49
util.js:218 Google Maps JavaScript API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys

 

Looks like Prestashop are not paying their bills??

 

Can we switch this off?

Share this post


Link to post
Share on other sites
1 hour ago, Curious said:

this has nothing to do with prestashop. 

Nowadays you have to pay for showing google maps on your webshop.

You will have to follow this to show it again. You get a number of free views and after that you will have to pay google 

https://developers.google.com/maps/documentation/javascript/get-api-key

 

But it comes pre-installed / integrated with Prestashop doesn;t it?

 

So how do we switch it off?

Share this post


Link to post
Share on other sites

I have more than 2 years from when I changed my website on Prestashop and all this time the Google Maps was working great in the backoffice untill this last month when it stopped and I don't understand how they calculate the free views? Because I can assure that I had a lot of order in 2 years and I had no problem with it.

Is there any option that we can still use it without paying?

 

Edited by Georgia85 (see edit history)

Share this post


Link to post
Share on other sites

This was already announced in Prestashop news:

https://www.prestashop.com/en/blog/charges-for-google-maps

 

read this carefully, its not free anymore since june 2018

http://geoawesomeness.com/developers-up-in-arms-over-google-maps-api-insane-price-hike/

its just as we see in other cases, first it is free, and after that it becomes paid. 

@ haylau theres is no off switch. It need to be coded somewehere if you want. I dont know where and how because it doesnt bother me much. But you can ask a developer to do this for you.

Maybe in newer versions of Prestashop this will become possible, or it will dissapear.

 

Share this post


Link to post
Share on other sites

@Haylau & Georgia85

Problem is this Javascript code in 1.6.

In 1.6.1.10, however, the map works after closing the warning window from Google. PrestaShop 1.5 doesn't use Javascript at all in this place - and Google maps still work as a charm on the order page in BO.

In order to make this work again you have to change the code in /<YourAdminDir>/themes/default/template/controllers/orders/helpers/view/view.tpl

Share this post


Link to post
Share on other sites

dont waste a cent on it. I totally disabled it. I am not paying for anything like that.

Share this post


Link to post
Share on other sites
On 11/2/2018 at 8:17 PM, Prestashop Addict said:

You can find a simple solution here to add the key for backoffice. Sorry it's in french 😞

Thanks, this worked for me.

But I don't understand why in PS 1.7 they decided to remove completely the "API key" field from Preferences->General. This was very useful because it was a clean method to add your own key for google maps.

image.png.4249339b7f7d7c41419b625a6a3398f1.png

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