How to remove review magento 2

How to remove Review/Ratings in magento 2 product page? Here I am demonstrating remove Review/Ratings for “Luma” theme .If you use diffrent theme then change path accordingly.

If you are using custom theme then it should be available on diffrent path(ex. /app/design/frontend/NAME_SPACE/THEME_NAME

1.I am removing review/rating for “luma” so my path is “your magento root/vendor/magento/theme-frontend-luma/Magento_Theme/layout/default.xml”

Open this file in edit mode like notepad/gedit etc editor.

If you want to remove review/rating for your custom theme then your path is for example (your magento root/app/design/frontend/Your Theme NAME_SPACE/theme name/etc/Magento_Theme/layout/default.xml)

Open this file in edit mode like notepad/gedit etc editor.

Add following line to that file and add to <body> tag

<referenceBlock name="" remove="true" />
  <referenceBlock name="" remove="true" />
  <referenceBlock name="" remove="true" />

2.Login to admin panel.

3.Goto System–>Cache Management

4.Select all “Click Submit”

5.Thats all now review/ratings are removed from product page

See video demonstration for same.


Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.