Skip to content

jasonheecs/prestashop-contact-form-google-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Prestashop Custom Contact Form

A custom module that overrides the Prestashop contact form with custom styling and a Google Map background alt tag

Demo

You can view a demo of this module at http://prestashop.jason-hee.com/en/contact-us

Setup

Download

Download or clone this repository into your project's modules directory. The module files should reside in your <project dir>/modules/customcontact directory.

Installation

Once the module files are in your project, you should be able to see the Custom Contact module in your admin back-office.

alt tag

Click on the Install button to install the module.

Configuration

Once the module is installed, you can click on the Configure button to configure the module settings. The configuration screen looks like this:

alt tag

Notes

You will need a Google Maps API key in order for the Google map to load.

Supported versions

This module is meant for Prestashop v1.6.x. It will not work on Prestashop 1.7.

Customisation

This module overrides Prestashop's ContactController. You can customise the module's functionality by extending this class in your theme.

The front end template consists of 2 files contact-form.tpl and map.tpl. You can customise the front end appearance of the module by overriding these 2 files in your theme.

About

A custom contact form module for Prestashop

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published