Questions tagged [ratings]

The tag has no usage guidance.

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

Create custom form with rating stars after order

I'm trying to create a custom form that I will send by email after X days order and there they will be able to put rating stars for the delivery, the experience with the store among others. Can I use ...
Rannye Rodrigues's user avatar
0 votes
1 answer
24 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
lucas's user avatar
  • 309
1 vote
3 answers
1k 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 ...
DhwaniBhatt's user avatar
1 vote
0 answers
957 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
mechanic's user avatar
  • 440
1 vote
0 answers
1k 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 ...
sandip's user avatar
  • 3,954
0 votes
1 answer
223 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 ...
Magento_learner's user avatar
0 votes
1 answer
56 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 ...
shraddha's user avatar
1 vote
0 answers
139 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 ...
big ben's user avatar
  • 11
0 votes
1 answer
864 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\...
Soham.M's user avatar
4 votes
1 answer
1k 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"> <...
Keval Kadia's user avatar
2 votes
2 answers
890 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('*')...
Sarvesh Patel's user avatar
0 votes
2 answers
55 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 ...
MichaelHa's user avatar
  • 661
0 votes
1 answer
983 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.
ann karsksya's user avatar
2 votes
2 answers
742 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 ...
Woody's user avatar
  • 21
0 votes
1 answer
556 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(); $...
Shan Haider's user avatar
3 votes
0 answers
369 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?
Hardik Makwana's user avatar
0 votes
1 answer
653 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) { ...
sudo55's user avatar
  • 994
-1 votes
2 answers
54 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 ...
Qiong Tang's user avatar
0 votes
1 answer
542 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 = ...
Hitesh Balpande's user avatar
0 votes
1 answer
254 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 ...
brackfost's user avatar
  • 1,020
0 votes
1 answer
82 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 ...
Developper Magento 's user avatar
1 vote
1 answer
49 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 ...
Bruno Serfe's user avatar
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
46 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 ...
Arjun Singh's user avatar
0 votes
3 answers
324 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; $...
gh darvishani's user avatar
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. ...
Dharmik Ponda's user avatar
7 votes
0 answers
737 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.
Jaisa's user avatar
  • 2,596
0 votes
1 answer
125 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 ...
Hemogoblin's user avatar
1 vote
1 answer
394 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')->...
Anthony Ip's user avatar
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($...
Raghu's user avatar
  • 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
251 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\...
Mohsin's user avatar
  • 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
Jaisa's user avatar
  • 2,596
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 ...
Jaisa's user avatar
  • 2,596
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 ...
Jaisa's user avatar
  • 2,596
2 votes
0 answers
465 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
Paras Arora's user avatar
1 vote
0 answers
44 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.
Govind Saluja's user avatar
2 votes
0 answers
337 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 ...
Frank Ruiz's user avatar
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.
Learing_Coder's user avatar
1 vote
2 answers
581 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 ...
Scotttiew's user avatar
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; $...
srg's user avatar
  • 455
2 votes
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: ...
Jerrod's user avatar
  • 41
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.
srg's user avatar
  • 455
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 &...
Nagaraju Kasa's user avatar
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?
Nagaraju Kasa's user avatar
4 votes
3 answers
5k 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\...
Nagaraju Kasa's user avatar
0 votes
1 answer
211 views

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

What is the best way to disable reviews moderation?
Wojciech Ka's user avatar
1 vote
0 answers
421 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
Vipin's user avatar
  • 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.
Magento_Newbie's user avatar
1 vote
1 answer
305 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(); $...
Zeolr's user avatar
  • 33