Questions tagged [ratings]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
42 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\...
0
votes
0answers
17 views

Magento 2 want to display both reviews & ratings

I would like to display both reviews & wite a review section can u plz advise. But in M1 anyone can only display but I want to display both.
0
votes
0answers
12 views

After changing star ratings the star rating isn't shown on the product page

The reviews star rating score was firstly shown on the product page. After I've changed the default rating ( I translate Price into Dutch and deleted Quality and Value) the star ratings isn't shown ...
4
votes
1answer
130 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
1answer
119 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
0answers
60 views

Magento 2 :How can i get rating stars and product detail in my widget?

I have made a widget to get reviews of all products on a single page. but not be able to show rating stars and products details with that. I tried many solutions but nothing works <?php $...
0
votes
2answers
35 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 ...
0
votes
0answers
7 views

restyling of the rating block

Tell me how to redo the styles of stars so that they have a stroke. Now they have a standard look but I'm trying to do both on the layout I only need a stroke on the stars*
0
votes
1answer
185 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
2answers
344 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
105 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
164 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
202 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) { ...
-1
votes
2answers
47 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
297 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
1answer
65 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
63 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
31 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
508 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
35 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
3answers
109 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
1k 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
279 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
40 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
273 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
944 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
785 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()-&...
2
votes
0answers
193 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
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
votes
1answer
859 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
5k 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
399 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
40 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
188 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
121 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
345 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
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; $...
1
vote
1answer
2k 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
1k 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
803 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
3answers
3k 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
168 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
365 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
3k 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
224 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
100 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
431 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
4k 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 ...
8
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 ...