AbanteCart Community
eCommerce construction => General Discussion => Topic started by: macat on July 03, 2013, 02:32:47 PM
-
Hi,
When someone is leaving a review is there a way to make the ratings NOT REQUIRED, if so where would I do that ... thanks in advance?!
-
You need to remove validation line below from file /storefront/model/catalog/review.php
if (!$this->request->post['rating']) {
$this->error['message'] = $this->language->get('error_rating');
}
-
Will do thanks.
-
OK, I couldn't find that line on that file, but I did find it on this file line 107 /storefront/controller/products/review.php and removed it from that file. Will let you know if that works.
-
You right. Sorry for typo. :( Correct file is /storefront/controller/responses/product/review.php
-
Yes, it worked great, thank you!