How to Disable Magento 2 Reviews And Ratings

How to Disable Magento 2 Reviews And Ratings

Customer reviews reflect the product or service assessment that encourages potential visitors for conversions.

However, for some reason, the store owner may want to disable Magento 2 reviews and ratings.

The older versions offered an option in the admin panel to disable them. But with Magento 2.2.x versions and above, that option is not available and hence here’s the solution for the same.

Also, it is not advisable to disable the Magento_Review module as it causes errors. A better idea is to hide it with XML as shown below:

Steps to Disable Magento 2 Reviews And Ratings:

  1. Add the below code at app/design/frontend/theme_folder/theme_name/Magento_Theme/layout/default.xml

Note: If you don’t have a theme, create child theme in Magento 2. After that, create file app/design/frontend/theme_folder/theme_name/Magento_Theme/layout/default.xml and add the above code in default.xml file.

That’s it.

The above method works with all Magento 2 versions.

Feel free to post your doubts on the Comments section below and I’d be happy to help.

Do share the solution with fellow developers via social media.

 

5
(based on 5 Reviews)

Sanjay is a co-founder at Meetanshi. He is a certified Magento developer who loves creating Magento E-commerce solutions. When he is not engrossed with anything related to Magento, he loves to play cricket.

Leave a Reply