Skip to content

Adding CAPTCHA protection to a PrestaShop site

CAPTCHA protection helps secure your PrestaShop store by reducing spam and blocking automated bots. On ruachost.com, you can add CAPTCHA support using modules such as SlideCaptcha or other third‑party solutions.

  • Prevents spam submissions in contact forms.
  • Protects login and registration pages from brute‑force attacks.
  • Reduces malicious automated actions on your store.

Steps to Add CAPTCHA Protection (Example: SlideCaptcha Module)

Section titled “Steps to Add CAPTCHA Protection (Example: SlideCaptcha Module)”
  1. Visit the SlideCaptcha PrestaShop module page.
  2. Add the module to your cart and complete the checkout process.
  3. Download the slidecaptcha.zip file to your local computer.
  1. Log in to your PrestaShop site as the administrator.
  2. On the top menu, click Modules → Module Manager → Upload a module.
  3. Select the slidecaptcha.zip file and upload it.
  4. PrestaShop installs the module and displays the configuration page.
  1. On the SlideCaptcha configuration page, copy the following line of code:

    {include file="$tpl_dir./../../modules/slidecaptcha/slidecaptcha.tpl"}
  2. Open the template file for the form you want to protect (e.g., themes/default-bootstrap/contact-form.tpl).

  3. Paste the code where you want the CAPTCHA to appear (usually before the submit button).

  4. Save the file.

  • Visit the form page (e.g., contact form).
  • You should only be able to submit the form after completing the CAPTCHA (dragging the slider).