Author Topic: Make Ratings NOT REQUIRED  (Read 3062 times)

Offline macat

  • Full Member
  • ***
  • Posts: 107
  • Karma: +7/-2
    • View Profile
    • Free Animal Rescue Websites
Make Ratings NOT REQUIRED
« 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?!
happiness is being owned by cats ... and Emma
http://makemycontest.com - Contest Platform
http://MyFundit.com/site - MyFundit Donation Widget

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4139
  • Karma: +250/-9
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Make Ratings NOT REQUIRED
« Reply #1 on: July 06, 2013, 06:54:21 PM »
You need to remove validation line below from file /storefront/model/catalog/review.php

Code: [Select]
if (!$this->request->post['rating']) {
$this->error['message'] = $this->language->get('error_rating');
}
We need your help to build better free open source eCommerce platform for everyone.
See how you can help

Offline macat

  • Full Member
  • ***
  • Posts: 107
  • Karma: +7/-2
    • View Profile
    • Free Animal Rescue Websites
Re: Make Ratings NOT REQUIRED
« Reply #2 on: July 06, 2013, 07:01:04 PM »
Will do thanks.
happiness is being owned by cats ... and Emma
http://makemycontest.com - Contest Platform
http://MyFundit.com/site - MyFundit Donation Widget

Offline macat

  • Full Member
  • ***
  • Posts: 107
  • Karma: +7/-2
    • View Profile
    • Free Animal Rescue Websites
Re: Make Ratings NOT REQUIRED
« Reply #3 on: July 06, 2013, 07:13:08 PM »
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.
happiness is being owned by cats ... and Emma
http://makemycontest.com - Contest Platform
http://MyFundit.com/site - MyFundit Donation Widget

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4139
  • Karma: +250/-9
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Make Ratings NOT REQUIRED
« Reply #4 on: July 06, 2013, 07:16:43 PM »
You right. Sorry for typo. :( Correct file is /storefront/controller/responses/product/review.php
We need your help to build better free open source eCommerce platform for everyone.
See how you can help

Offline macat

  • Full Member
  • ***
  • Posts: 107
  • Karma: +7/-2
    • View Profile
    • Free Animal Rescue Websites
Re: Make Ratings NOT REQUIRED
« Reply #5 on: July 06, 2013, 07:25:35 PM »
Yes, it worked great, thank you!
happiness is being owned by cats ... and Emma
http://makemycontest.com - Contest Platform
http://MyFundit.com/site - MyFundit Donation Widget

 

Powered by SMFPacks Social Login Mod