Jump to content

[PrestaShop 1.7.2] Change google maps from API to iframe


szubinek

Recommended Posts

Hi

I want to change my google map on my store (www.mas-met.pl). I'm currently using map with API and I want to change it into iframe (www.mas-met.pl/wojtek.html).

 

This's iframe code which I wanted to put on on my website:

<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d515548.74824027956!2d18.100084562556034!3d53.111999141932834!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x470313a38fbc926b%3A0xcbdf2f8560f942d8!2sMAS-MET%20Hurtownia%20Oku%C4%87%20Budowlanych!5e0!3m2!1spl!2spl!4v1641463628691!5m2!1spl!2spl" width="100%" height="400" style="border: 0;position: absolute;top: 0px;left: 0px;" allowfullscreen="" loading="lazy"></iframe>

 

I'm using the PRS040072 template and I I found something about this map in the end of file: themes/PRS040072/templates/_partials/footer.tpl

<script async="" defer="" src="https://maps.googleapis.com/maps/api/js?key=[apikey]"></script>

 

How can I change google maps from API to iframe?

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