Questions tagged [ratings]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
13 views

How to develop a module for store rating. Magento 1.9 (store-view)

I need to get a module that the customer can use to review (rating) the store in general, and not the products. Is there any module that has this functionality? Or how could I develop it in magento 1
  • 197
1 vote
3 answers
599 views

Magento 2 : How to get collection of review with it's rating information

I get review information from the review_detail table and get rating information from rating_opetion_vote Separately but I try to join these two tables and return collection but it is not working. I ...
0 votes
0 answers
752 views

Magento 2: Google search console giving error: Error on Either "offers", "review", or "aggregateRating" should be specified

We are getting an error on google search console for multiple products: Either "offers", "review", or "aggregateRating" should be specified
  • 330
1 vote
0 answers
926 views

Default sorting options Sort by 'rating' not working in Magento 2.4.1 in ElasticSearch 7.x

I have installed Magento 2.4.1 Open source edition with Elastic Search 7.x version. Magento admin -> Stores -> Attributes -> Product Find default 'rating' attribute and set 'Use in filter ...
  • 3,854
0 votes
1 answer
151 views

Magento 2 - Get Rating for each review

Hi I am trying to get ratings for each review. I am able to get the reviews for each product. This is my review variable $_review but when I tried to get rating it doesn't work. The below code should ...
0 votes
1 answer
39 views

How to add STORES > Attributes -> RATINGS > New Attributes (Rating / Price / XYZ) - [SOLVED]

I searched alot on internet but did not find a solution for this and finally got this working on my own: Requirement: Add a new attribute under STORES > RATINGS > (Rating i.e Not coming out of ...
1 vote
0 answers
124 views

Magento 1.9 | Rating not displaying at product list

Currently, on the list of products starts is displayed only when someone adds reviews. I need to display the stars and message to leave review and rating. In template found that it should've been ...
  • 11
0 votes
1 answer
593 views

Magento 2.3.4 - How to create filter by product rating in layered navigation

I want to have a filter by product rating in layered navigation. Regarding this, I found a solution Magento 2 : Rating Filter in Layered Navigation. This is working fine if you modify vendor\magento\...
4 votes
1 answer
866 views

How to display star rating into my custom customer feedback grid view using renderer in magento 2?

This is my listing.xml code for rating . I want to display star rating to the custom feedback grid. <column name="rating"> <argument name="data" xsi:type="array"> <...
2 votes
2 answers
734 views

How to filter products by rating in Magento 2?

I want to get all products by rating filter. here my code $getProducts = $objectManager->create('Magento\Catalog\Model\ResourceModel\Product\Collection'); $getProducts->addAttributeToSelect('*')...
0 votes
2 answers
43 views

Magento 2 : Automatically rating for product has image

Automatically add four stars on the results page, products page, for all products that do have an image. (Use the database direct to update the stars for the SKUs that have image_count = true) Use ...
  • 661
0 votes
1 answer
846 views

Magento 2 how to add a widget Recently viewed products

If you have add product review and rating and approved admin side. After you have seen on recently view product.
2 votes
2 answers
716 views

How to Disable Magento Review 2.3.1 [duplicate]

What is the best way to disable magento 2 rating & review? I try to follow this guide https://blog.landofcoder.com/disable-magento-2-reviews-and-rating/ but can't follow the tab as it seems ...
  • 21
0 votes
1 answer
403 views

How to get product rating using object manager in magento 2

i want to get products rating using object manager i tried below mention code but its not working for me please guide me $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $...
3 votes
0 answers
300 views

Magento 2 How to Get average rating and get rating wise percentage?

How to get the overall average rating and star wise rating into the custom phtml file?
0 votes
1 answer
568 views

Join in magento 2 Ratings and Review

I am trying to fecth data form review and rating_option_vote. i need all values of rating and all Rating count group by Rating Id. public function getRatingSummeryByAttribute($currentProductId) { ...
  • 994
-1 votes
2 answers
53 views

Product rating table form rewrite

I want to write a function in module file in app/code/[vendor_name]/[module_name]/... This function will use object manager only and is to show current product rating table to let customers rate the ...
0 votes
1 answer
457 views

How to get Review for products collection magento 2?

Actually i want to get Review Rating and summary count.Please check below code <?php error_reporting(0); use \Magento\Framework\App\Bootstrap; include('../app/bootstrap.php'); $bootstrap = ...
0 votes
1 answer
223 views

Editing Reviews Programatically

I'd like to programatically edit all user reviews, to strip them of HTML tags (brought over from a migration). It doesn't look like exporting/importing with a CSV is possible, so I'm hoping for a ...
  • 980
0 votes
1 answer
81 views

How to develop a module for store rating not product

I have 3 store view to my website and I want to have a part in my home page where the guest can evaluate my store (not the product) and the only authenticated customer can evaluate and save directly ...
1 vote
1 answer
46 views

Is it possible to have a global rating in Magento 2?

Is it possible to have a global rating in Magento 2 instead of have stars for Price, Value, Quality individually? Maybe creating a new "Global" rating called just "Rating"? That will be the correct ...
1 vote
1 answer
1k views

Magento 2 : Mass Product add review and ratings using script

In my magento, there are appox. 10K product available. I want to add reviews and ratings in all products. If I do this from admin, It will take lots of time. I want to add this via script or ...
user avatar
1 vote
0 answers
45 views

percent field in rating_option_vote

I am trying to understand the fields present in rating_option_vote table. Every review has one rating_option_vote associated with it. As per my understanding, rating_option_vote contains the value of ...
0 votes
3 answers
299 views

Magento 2 - Get all rates of customer

How can I get all rates of the customer? For review, I do it like this: public function getReviews($isApproved=false) { if($this->reviewData!=null) return $this->reviewData; $...
3 votes
1 answer
3k views

Magento 2 : How to get total review count and get ratings percentage

In Magento 2, I need to get details of how many reviews approved in specific product and how many average ratings percentage of specific product. How to get this both details ? Please help me. ...
7 votes
0 answers
699 views

How to add a star rating in custom form in magento 2

I have created the feedback form in list page. Now I wish to add custom star rating as a new form field. Please suggest any solution to add rating field in my form.
  • 2,490
0 votes
1 answer
121 views

Why would some products show aggregate ratings half what they should be?

We have a couple products in Magento 1.14.0.1 enterprise that their aggregate rating is 50% the amount stored in the database. Once a product rating is wrong, it won't go ri. I've added additional ...
1 vote
1 answer
382 views

Get the average rating of the current category

I'm new to magento and i'm currently working on the CE1.9 for work. I'm having trouble to get the average rating of the current category. $category_id = Mage::getModel('catalog/layer')->...
0 votes
1 answer
1k views

Magento get rating star by review id

Magento how to get rating star by review id I used the following code $ratingCollection = Mage::getModel('rating/rating_option_vote') ->getResourceCollection() ->setReviewFilter($...
  • 1,710
1 vote
1 answer
1k views

Magento2 Sort by Rating

I am working on Magento2.2.1, I want to sort by rating. I have applied the below code but it's not working with Ajax neither Page load as well. Pagination is not coming. $collection->getSelect()-&...
user avatar
3 votes
0 answers
248 views

Get Most(Top) Rated Products in Magento2

I am using Magento 2.1.9 version. I need to get Top Rated Product Collection without using object manager. How to get it. I referred this link I used the below code in Namespace\Module\Block\Product\...
  • 41
3 votes
1 answer
1k views

How to get product rating collection in magento 2

I need to get product rating collection in block, and need to display it in template.Please provide me a solution
  • 2,490
2 votes
1 answer
1k views

How to get Product rating code and its value in magento 2

I have modified review form as popup modal.And I have also created an empty stars rating for the product which does not contain rating yet.But I have created those stars statically. But Now I need to ...
  • 2,490
2 votes
3 answers
7k views

How to display star rating summary

I have removed reviews tab and placed the form in a popup modal. Now I have displayed all the reviews posted by the customer about the particular product and I have displayed the Rating summary for ...
  • 2,490
2 votes
0 answers
455 views

Show star rating on Catalog list page Magento 2

I want to show product star rating for all the products even if there is no rating available
1 vote
0 answers
42 views

How we can make custom modulle for review and star rating functionality in my custom admin and frontend [closed]

How we can make custom module for review and star rating functionality in my custom admin and frontend.
2 votes
0 answers
310 views

How to make product ratings required in Magento 2.1.2

For some reason the star ratings are not being validated on the product page (Product Review). The other 3 fields are being validated correctly (Nickname, Summary, & Review). Has anyone ...
0 votes
0 answers
139 views

in Magento 2,How can I implement star rating in my custom module

I am Unable to move ahead in implementing the star rating in magento 2,because i was clue less,Please can anyone give me possible solutions,so that i can complete my star rating.
1 vote
2 answers
544 views

How do I hide the rating stars in the product list when there's no rating yet?

Currently my Magento store shows 'hollow' 5 star ratings for all products without ratings (which is 99.9% of products as it's a new store). I would like to only have the star rating appear if a ...
0 votes
1 answer
2k views

How can i get the reviews of product by customer in magento 2 programatically? [duplicate]

In the below code i am getting the rating percentage .How can i get the review title, description, nickname and submitted date. public function ProductReview() { $_productID = 70; $...
  • 435
1 vote
1 answer
3k views

Magento 2.1.7 - Showing Rating on Category Page

I have been trying to show the rating on the category listing page. They show up if there is a rating, but I want rating to show even if there are no reviews (no stars). In the list.phtml page i see: ...
  • 31
0 votes
2 answers
2k views

Programatically get product rating and review in magento 2 product collection

How can programatically get product rating and review in product collection in Magento 2.
  • 435
2 votes
1 answer
1k views

Create Rating programmatically?

I am able to create a review but unable to create rating. What exactly data should consider here please suggest me about rating options $XXXXXXX & $YYYYYYY ? ReferenceLink 1 Reference Link 2 &...
0 votes
1 answer
2k views

magento 2 rating collection by review id?

Magento 2 how to get the data from 'rating_option_vote' by review_id using objectmanager?
4 votes
3 answers
4k views

Magento2 get all product review details by product sku?

In Magento 2 how to get all the product reviews by product SKU. Please find the screenshot below. please provide/suggest me how to get. I have written some test code: <?php use Magento\...
0 votes
1 answer
202 views

Change the setting of Reviews to not need approval from BE [closed]

What is the best way to disable reviews moderation?
1 vote
0 answers
410 views

Product review form with image field Magento 1.9.2.4

How to get product review form with image field section in View page review section
  • 13
0 votes
4 answers
5k views

How to programmatically create a product review in Magento 2

I am trying to programmatically create a product review for an existing product in Magento 2.
1 vote
1 answer
289 views

Fetch products with 5 star reviews

I'm trying to fetch all the products which are having 5 star rating on home page. Used objectManager for product collection. $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $...
  • 33
1 vote
0 answers
108 views

Magento review list sorting [duplicate]

I need to apply sorting on Review list by Highest Rating and Lowest rating. I searched but not find any solution for that. Can anyone has idea how can i apply sorting on Highest Rating and Lowest ...