{"id":5865,"date":"2019-10-10T10:16:00","date_gmt":"2019-10-10T10:16:00","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/?p=5865"},"modified":"2025-05-22T15:38:28","modified_gmt":"2025-05-22T10:08:28","slug":"disable-magento-2-reviews-and-ratings","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/disable-magento-2-reviews-and-ratings\/","title":{"rendered":"How to Disable Magento 2 Reviews And Ratings"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Customer reviews reflect the product or service assessment that encourages potential visitors for conversions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, for some reason, the store owner may want to <strong>disable Magento 2 reviews and ratings<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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\u2019s the solution for the same.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Also, it is not advisable to disable the&nbsp;Magento_Review module as it causes errors. A better idea is to hide it with XML as shown below:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps to Disable Magento 2 Reviews And Ratings:<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"> Add the below code at <strong>app\/design\/frontend\/theme_folder\/theme_name\/Magento_Theme\/layout\/default.xml<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;page xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:View\/Layout\/etc\/page_configuration.xsd\">\n   &lt;body>\n       &lt;referenceBlock name=\"reviews.tab\" remove=\"true\" \/>\n       &lt;referenceBlock name=\"product.review.form\" remove=\"true\" \/>\n       &lt;referenceBlock name=\"product.info.review\" remove=\"true\" \/>\n    &lt;referenceBlock name=\"customer-account-navigation-product-reviews-link\" remove=\"true\" \/>\n    &lt;referenceBlock name=\"review_view\" remove=\"true\" \/>\n   &lt;\/body>\n&lt;\/page><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> If you don\u2019t have a theme, <a href=\"https:\/\/meetanshi.com\/blog\/create-child-theme-in-magento-2\/\" target=\"_blank\" rel=\"noreferrer noopener\">create child theme in Magento 2<\/a>. After that,&nbsp;create file <em><strong>app\/design\/frontend\/theme_folder\/theme_name\/Magento_Theme\/layout\/default.xml<\/strong><\/em> and&nbsp;add the above code in <strong>default.xml<\/strong> file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The above method works with all Magento 2 versions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Do share the solution with fellow developers via social media.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">P.S. \u2013 If you get impressed with the <a href=\"https:\/\/meetanshi.com\/blog\/benefits-of-customer-reviews-in-e-commerce\/\" target=\"_blank\" rel=\"noreferrer noopener\">benefits of customer reviews in E-commerce<\/a>, you can check our tutorial to <a href=\"https:\/\/meetanshi.com\/blog\/allow-guests-to-write-reviews-in-magento-2\/\" target=\"_blank\" rel=\"noreferrer noopener\">allow guests to write reviews in Magento 2<\/a>!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[34],"tags":[],"class_list":["post-5865","post","type-post","status-publish","format-standard","hentry","category-magento"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/5865","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=5865"}],"version-history":[{"count":3,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/5865\/revisions"}],"predecessor-version":[{"id":15231,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/5865\/revisions\/15231"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=5865"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=5865"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=5865"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}