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

Offline macat

  • Full Member
  • ***
  • Posts: 127
  • Karma: +10/-3
    • View Profile
    • Sites Made With Love - 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 ... pups Emma & angel Lolli(pop)
https://creativePaw.org - creativePaw Creations
https://makemycontest.com - Contest Platform

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • 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');
}
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline macat

  • Full Member
  • ***
  • Posts: 127
  • Karma: +10/-3
    • View Profile
    • Sites Made With Love - 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 ... pups Emma & angel Lolli(pop)
https://creativePaw.org - creativePaw Creations
https://makemycontest.com - Contest Platform

Offline macat

  • Full Member
  • ***
  • Posts: 127
  • Karma: +10/-3
    • View Profile
    • Sites Made With Love - 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 ... pups Emma & angel Lolli(pop)
https://creativePaw.org - creativePaw Creations
https://makemycontest.com - Contest Platform

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • 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
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline macat

  • Full Member
  • ***
  • Posts: 127
  • Karma: +10/-3
    • View Profile
    • Sites Made With Love - 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 ... pups Emma & angel Lolli(pop)
https://creativePaw.org - creativePaw Creations
https://makemycontest.com - Contest Platform

 

Powered by SMFPacks Social Login Mod