Opencart 2.0.2 and 2.0.3.1 use google Captcha. You can setting in admin:
Goto admin -> Systems -> Setting ->Edit -> Google Tab
Choose Google reCAPTCHA and setting follow guide:
Goto: https://www.google.com/recaptcha/intro/index.html
Click Get reCaptcha -> Fill your page name, domain and your email -> Click Register
You have:
Site key and Secret key
Copy and pate to Google reCAPTCHA
Save to finish
Check your front store
View More detail here: http://octheme.com/google-recaptcha
Goto admin -> Systems -> Setting ->Edit -> Google Tab
Choose Google reCAPTCHA and setting follow guide:
Goto: https://www.google.com/recaptcha/intro/index.html
Click Get reCaptcha -> Fill your page name, domain and your email -> Click Register
You have:
Site key and Secret key
Copy and pate to Google reCAPTCHA
Save to finish
Check your front store
View More detail here: http://octheme.com/google-recaptcha
Last edited by luican on Mon Jul 06, 2015 5:36 pm, edited 1 time in total.
Did you enabled reCAPTCHA in settings page, like this image http://prntscr.com/7p1fpy?
http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension
Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme
Extra Positions PRO, Custom JavaScript, Custom CSS and others
Hello,
I have enabled google captcha in the admin section (OpenCart Version 2.0.3.1), but it does not show up on the contact form or reviews. I am using a theme called zmax cart. Is it possible that I need to insert the google captcha snippets myself? I would have expected this all to be integrated through open carts admin page.
Also - the form does not appear to test for any entries before submitting. Is that an issue with the custom theme? Again I would have thought the theme would not affect that functionality. Thanks for any input!
//From template->contact.tpl
<div class="form-group required">
<label class="col-sm-2 control-label" for="input-captcha"><?php echo $entry_captcha; ?></label>
<div class="col-sm-10">
<input type="text" name="captcha" id="input-captcha" class="form-control" />
</div>
</div>
<div class="form-group">
<div class="col-sm-10 pull-right">
<img src="index.php?route=tool/captcha" alt="" />
<?php if ($error_captcha) { ?>
<div class="text-danger"><?php echo $error_captcha; ?></div>
<?php } ?>
</div>
</div>
//From Google reCAPTCHA:
Paste this snippet before the closing </head> tag on your HTML template:
<script src='https://www.google.com/recaptcha/api.js'></script>
Paste this snippet at the end of the <form> where you want the reCAPTCHA widget to appear:
<div class="g-recaptcha" data-sitekey="6LdnyRAT4xxxxxxxvmNQ"></div>
I have enabled google captcha in the admin section (OpenCart Version 2.0.3.1), but it does not show up on the contact form or reviews. I am using a theme called zmax cart. Is it possible that I need to insert the google captcha snippets myself? I would have expected this all to be integrated through open carts admin page.
Also - the form does not appear to test for any entries before submitting. Is that an issue with the custom theme? Again I would have thought the theme would not affect that functionality. Thanks for any input!
//From template->contact.tpl
<div class="form-group required">
<label class="col-sm-2 control-label" for="input-captcha"><?php echo $entry_captcha; ?></label>
<div class="col-sm-10">
<input type="text" name="captcha" id="input-captcha" class="form-control" />
</div>
</div>
<div class="form-group">
<div class="col-sm-10 pull-right">
<img src="index.php?route=tool/captcha" alt="" />
<?php if ($error_captcha) { ?>
<div class="text-danger"><?php echo $error_captcha; ?></div>
<?php } ?>
</div>
</div>
//From Google reCAPTCHA:
Paste this snippet before the closing </head> tag on your HTML template:
<script src='https://www.google.com/recaptcha/api.js'></script>
Paste this snippet at the end of the <form> where you want the reCAPTCHA widget to appear:
<div class="g-recaptcha" data-sitekey="6LdnyRAT4xxxxxxxvmNQ"></div>
HI I am using opencart 2.1.0.1 and i don't have that google tab.. from what version is this available ?
We are also using 2.0.1.1. and also don't se no Google tab... Probably in newer versions...
Hi,
I am using OC 3.0.2 and I setted google recaptcha for contact and register page, but although I ticked box, It says "
Please complete captcha verification." "Verification is not correct!"
https://www.demirkayaoptik.com/index.ph ... on/contact
I setted all keys and secret from google page. Do you know any idea?
I am using OC 3.0.2 and I setted google recaptcha for contact and register page, but although I ticked box, It says "
Please complete captcha verification." "Verification is not correct!"
https://www.demirkayaoptik.com/index.ph ... on/contact
I setted all keys and secret from google page. Do you know any idea?
Who is online
Users browsing this forum: No registered users and 84 guests