Questions tagged [ratings]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
20 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 ...
0
votes
1answer
20 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
0answers
119 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
1answer
46 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) { ...
0
votes
0answers
64 views

How to display star rating of new review product in email template in magento2

I want to display star ratting of new review product on email template for notification new review by email. I am unable to get star ratting on email template for my custom module.
-1
votes
2answers
43 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
1answer
129 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
0answers
34 views

Magento review and ratting issue

I'm trying to use Magento 2 review and rating. I used the object manager. My code is : <?php $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $product = $...
0
votes
1answer
28 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 ...
0
votes
1answer
49 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
1answer
26 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 ...
0
votes
1answer
348 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 ...
1
vote
0answers
27 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
1answer
58 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
1answer
682 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
1answer
173 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.
0
votes
1answer
20 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
1answer
191 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
1answer
685 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
vote
1answer
457 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()-&...
1
vote
0answers
136 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\...
3
votes
1answer
826 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
1
vote
1answer
574 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
votes
3answers
4k 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
votes
0answers
332 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
0answers
39 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
0answers
133 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
0answers
99 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
2answers
253 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
1answer
1k 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; $...
1
vote
1answer
977 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:...
0
votes
1answer
901 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.
1
vote
1answer
589 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
1answer
1k 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
2answers
2k 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
1answer
155 views

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

What is the best way to disable reviews moderation?
1
vote
0answers
346 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
0
votes
2answers
2k 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
1answer
181 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(); $...
1
vote
0answers
84 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 ...
1
vote
1answer
392 views

Get all products collection which have 5 star review

I need to get all the products from my magento store, Which have 5 Star reviews and rating.
14
votes
1answer
3k views

Magento 2 : Show product ratings for each star, average ratings and % of 5 star ratings on product page

I want to display ratings on the product page like this: How many users selected 5/4/3/2/1 star ratings The average rating, displayed as stars Percentage of users selected a 5 star rating I need ...
7
votes
2answers
2k views

Magento 2 layer navigation custom rating filter pagination doesn't work

I have created a module for rating filter and its working but after filter number of item and pagination showing wrong as per attached screenshot. There is only one 5 start product but showing wrong ...
5
votes
1answer
2k views

Magento 2 Add review form on custom page

I have custom module page which has products on a slider. When I click on slider product according to that product I want to show a Review - Rating Form on custom page which can be filled once by ...
0
votes
2answers
739 views

load all reviews and all ratings of a specific product using product id

I want to load all reviews and all ratings of a specific product using product id so i have made a module but problem is that i am not able to load detail reviews and detail rating of any specific ...
4
votes
1answer
2k views

Magento 2 Product rating is not visible in all store views?

I have two store views in my website some products having rating stars and displaying them is fine in default store view. While switching into another store view the rating stars are disappearing ...
4
votes
1answer
2k views

Using magento 2 only show review not rating in product page

I'm using Magento 2 and porto theme on the product page only show the product review. Rating option not displayed in the page.
2
votes
1answer
311 views

Get “Add rating” on a custom form. (Magento 1.9)

I have created a customized popup, on list page for submitting review. Use of the popup, When user clicks on write review on list page, it generates a popup with form to submit the review. Here is my ...
7
votes
1answer
10k views

How can I enable star rating in Magento2?

How to enable Star rating in Magento2? Currently Customers can only write "reviews" but cant rate the product.. Thanks for help!
3
votes
1answer
2k views

Magento 2 product review & rating

In Magento 2 product view page I want to do following things... Check if product has 0 or more rating. Get an average rating of product rating wise For e.g. Price : 2.5/5.0 Quality : 4.5/ 5.0 ...