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.
Why Use CAPTCHA?
-
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)
Step 1: Download the Module
-
Visit the SlideCaptcha PrestaShop module page.
-
Add the module to your cart and complete the checkout process.
-
Download the
slidecaptcha.zipfile to your local computer.
Step 2: Install the Module
-
Log in to your PrestaShop site as the administrator.
-
On the top menu, click Modules → Module Manager → Upload a module.
-
Select the
slidecaptcha.zipfile and upload it. -
PrestaShop installs the module and displays the configuration page.
Step 3: Configure the Module
-
On the SlideCaptcha configuration page, copy the following line of code:
{include file="$tpl_dir./../../modules/slidecaptcha/slidecaptcha.tpl"} -
Open the template file for the form you want to protect (e.g.,
themes/default-bootstrap/contact-form.tpl). -
Paste the code where you want the CAPTCHA to appear (usually before the submit button).
-
Save the file.
Step 4: Test the CAPTCHA
-
Visit the form page (e.g., contact form).
-
You should only be able to submit the form after completing the CAPTCHA (dragging the slider).