Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Removing the enter code when writing a review or contact us

Started by emanuelben616, July 10, 2015, 04:18:38 AM

Previous topic - Next topic

emanuelben616

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?

abantecart

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.


Forum Rules Code of conduct
AbanteCart.com 2010 -