Adding reCAPTCHA to contact form Prestashop (for version 1.5.x)

adding recaptcha

Adding reCAPTCHA to contact form Prestashop (for version 1.5.x)

[lead]

    • Create an account/login to https://www.google.com/recaptcha/
    • Create public/private keys for your domain
    • Download latest library from Google: http://recaptcha.goo…ha-php-1.11.zip
    • Unzip and (for ease of use) rename folder to recaptcha, delete example files so you end up with the only required files
    • Edit attached ContactController.php to enter public and private keys you obtained from Google
    • Edit attached /themes/[your theme]/contact_form.tpl if you want to change position, capcah code is entered between

<!-- recaptcha code starts -->
reCapcha Code is here
<!-- recaptcha code ends -->

  • Upload modified /themes/[your theme]/contact_form.tpl
  • Upload ContactController.php to /override/controllers/ directory
  • Test contact form

[/lead]
Attached Files:
reCapcha-Prestashop

Summary
Article Name
Adding reCAPTCHA to contact form Prestashop (for version 1.5.x)
Description
Create an account/login to https://www.google.com/recaptcha/ Create public/private keys for your domain Download latest library from Google: http://recaptcha.goo…ha-php-1.11.zip
Author
Publisher Name
Software Linkers
Publisher Logo