Categories

Featured templates

Magento. How to remove Google Map from Contacts page

Andre Flores April 14, 2015
Rating: 4.5/5. From 2 votes.
Please wait...

Hello! This video tutorial shows how to remove Google Map from Contacts page in Magento templates.

Magento. How to remove Google Map from Contacts page

You may want to remove the Google Map from the Contacts page of your Magento store because you do not have any physical address or for some other reasons:

magento_how_to_remove_google_map_from_contacts_page_1

So, let’s learn how to do this.

  1. Access your server using FTP/File Manager and navigate to your Magento root directory.

  2. Locate the contacts_map.phtml file in the /app/design/frontend/default/themexxxx/template/tm/googlemap/ directory, where xxxx is your theme number.

  3. Open the file for editing and look for the following code:

<div class="block block-contacts-googlemap">
	<div class="block-content">
	<div id="map_canvas" style="width:<?php echo $tm_googlemap_contacts_settings['width']; ?>; 
	height:<?php echo $tm_googlemap_contacts_settings['height']; ?>"></div>
	</div>
</div>

Simply comment out the aforementioned block of code so it looks like on the screenshot below:

magento_how_to_remove_google_map_from_contacts_page_2

Save the file and refresh the Contacts page to see changes.

The Google Map has been successfully removed from the page:

magento_how_to_remove_google_map_from_contacts_page_3

This is the end of the tutorial, you have learnt how to remove Google Map from Contacts page in your Magento store.

Feel free to check the detailed video tutorial below:

Magento. How to remove Google Map from Contacts page

Ecommerce Magento Templates
This entry was posted in Magento Tutorials and tagged contact, google, Magento, map. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket