Hi guys
I am using OC 1.5.5.1 and I really want to get rid of the captcha form on the contact page.
Is there a way to disable or completely delete that feature??
Solved it
In /catalog/view/theme/YOURTHEME/template/information/contact.tpl
Delete or hide the following Part:
<div class="control-group">
<label for="captcha" class="control-label">
<span class="required">*</span> <?php echo $entry_captcha; ?>
</label>
<div class="controls">
<input type="text" name="captcha" id="captcha" value="<?php echo $captcha; ?>" class="span3 required" required /><br /><br />
<img src="index.php?route=information/contact/captcha" alt="" />
<?php if ($error_captcha) { ?>
<span class="error"><?php echo $error_captcha; ?></span>
<?php } ?>
</div>
</div>
In /catalog/controller/information/contact.php
Delete the following (Hide doesn't work)
if (empty($this->session->data['captcha']) || ($this->session->data['captcha'] != $this->request->post['captcha'])) {
$this->error['captcha'] = $this->language->get('error_captcha');
}
In /catalog/view/theme/YOURTHEME/template/information/contact.tpl
Delete or hide the following Part:
<div class="control-group">
<label for="captcha" class="control-label">
<span class="required">*</span> <?php echo $entry_captcha; ?>
</label>
<div class="controls">
<input type="text" name="captcha" id="captcha" value="<?php echo $captcha; ?>" class="span3 required" required /><br /><br />
<img src="index.php?route=information/contact/captcha" alt="" />
<?php if ($error_captcha) { ?>
<span class="error"><?php echo $error_captcha; ?></span>
<?php } ?>
</div>
</div>
In /catalog/controller/information/contact.php
Delete the following (Hide doesn't work)
if (empty($this->session->data['captcha']) || ($this->session->data['captcha'] != $this->request->post['captcha'])) {
$this->error['captcha'] = $this->language->get('error_captcha');
}
I'm glad you solved it...before you open a new topic..try searching...there is always a chance that a solution to your problem has already been found
Opencart Templates, Modules, Themes & Custom Development | ShopThemer
Hi Jafarul,
this post is quite old, I doubt that someone will answer
I have made a couple of vQmod extensions that remove captchas from the pages Contact Us, Product Returns and Reviews, the first is Remove Captcha, available here:
http://www.opencart.com/index.php?route ... n_id=16695
The second extension is Smart Antispam Shield, it solves the problem of the spam when captchas are disabled:
http://www.opencart.com/index.php?route ... n_id=13097
Hope it helps!
this post is quite old, I doubt that someone will answer

I have made a couple of vQmod extensions that remove captchas from the pages Contact Us, Product Returns and Reviews, the first is Remove Captcha, available here:
http://www.opencart.com/index.php?route ... n_id=16695
The second extension is Smart Antispam Shield, it solves the problem of the spam when captchas are disabled:
http://www.opencart.com/index.php?route ... n_id=13097
Hope it helps!
Our new Opencart Extension:
AI Assistant - automatic product and category text generator
Who is online
Users browsing this forum: No registered users and 13 guests