AbanteCart Community
Shopping Cart Operations => Support => Template Support => Topic started by: emanuelben616 on July 10, 2015, 04:18:38 AM
-
Hi All,
I wanted to know where can i go to remove the enter code for when you write a review or when someone wants to email you. How do i remove it?
-
This will require removal in 2 places of display and validation
You can look for word captcha
1. https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/controller/pages/product/product.php
$this->data['review_captcha'] = HtmlElementFactory::create(array( 'type'=>'input',
'name' =>'captcha',
'attr' =>''));
2. https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/controller/responses/product/review.php
if (!isset($this->session->data['captcha']) || ($this->session->data['captcha'] != $this->request->post['captcha'])) {
$this->error['message'] = $this->language->get('error_captcha');
}
Keep in mind that you might be attacked by robots with large number of submits.
-
OK thank you for your help!