How to Disable Magento 2 Reviews And Ratings

You can easily disable magento 2 reviews and ratings functionality directly in the magento backend.

  1. Go to Stores > Settings > Configuration.
  2. Open the Catalog tab and choose the Catalog option.
  3. Navigate to the Product Reviews section and set No in the Enabled field.
  4. Save the changes.

If you are running a version were you do not have that option then remove the review blocks from your theme (do not disable the Magento_Review module as it can cause errors.

Create or add to your theme the following code under the Magento_Theme/layout/default.xml file:

<page xmlns:xsi="" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
       <referenceBlock name="" remove="true" />
       <referenceBlock name="" remove="true" />
       <referenceBlock name="" remove="true" />
       <referenceBlock name="customer-account-navigation-product-reviews-link" remove="true" />
       <referenceBlock name="review_view" remove="true" />

And that is it 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *