Adding CAPTCHA protection to an OpenCart site
CAPTCHA protection helps secure your OpenCart site, and reduces the amount of spamming by bots and other malicious acts. Learn how to add CAPTCHAs to your OpenCart site here.
This article describes how to add CAPTCHA protection to an OpenCart site. CAPTCHAs help protect your site from spamming by bots and other malicious actors.
Note
For general information about what CAPTCHAs are and what they do, please see this article.
Adding CAPTCHA protection
To add CAPTCHA protection to an OpenCart site, follow the appropriate procedure for your version of OpenCart.
OpenCart 2.1
To enable CAPTCHA protection for OpenCart 2.1, follow these steps:
-
Log in to OpenCart as the administrator.
-
In the left pane, click the
icon, and then click Captcha.
-
In a default installation, OpenCart provides two CAPTCHA options:
-
Basic Captcha: This extension does not require registration with a third-party service.
-
Google reCAPTCHA: To use this extension, you must sign up for a Google reCAPTCHA account if you do not already have one. To do this, please visit https://www.google.com/recaptcha.
-
For the CAPTCHA extension you want to use, click the Install (
) icon.
-
Click the Edit (
) icon:
-
If you are using the Basic Captcha extension:
- In the Status list box select Enabled, and then click the Save (
) icon.
- In the Status list box select Enabled, and then click the Save (
-
If you are using the Google reCAPTCHA extension:
-
In the Site key text box, type the site key you obtained during registration.
-
In the Secret key text box, type the secret key you obtained during registration.
-
In the Status list box, select Enabled, and then click the Save (
) icon.
-
-
In the left pane, click the
icon, and then click Settings.
-
Select your store, and then click the Edit (
) icon.
-
Click the Option tab.
-
Scroll to the bottom of the page, and then under Captcha, in the Captcha list box, select the extension you want to use.
-
In the Captcha Page area, select the pages you want to protect with CAPTCHAs.
-
Click the Save (
) icon. The new settings take effect immediately.
Related Articles
Updated 3 days ago