News:

AbanteCart v1.4.2 is released.

Main Menu

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

Make Ratings NOT REQUIRED

Started by macat, July 03, 2013, 02:32:47 PM

Previous topic - Next topic

macat

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?!

abantecart

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');
}

macat


macat

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.

abantecart

You right. Sorry for typo. :( Correct file is /storefront/controller/responses/product/review.php

macat

Yes, it worked great, thank you!

Forum Rules Code of conduct
AbanteCart.com 2010 -