I just want to remove the "3 Reviews" text from my custom module. for that, I have created a file *view/frontend/layout/catalog_product_view.xml file. Please check SS

enter image description here My module name is : Remove_Text

<page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
        <referenceBlock name="reviews.tab" />
        <referenceBlock name="product.info.review">
            <action method="setTemplate">
                <argument name="template" xsi:type="string">Remove_Text::review.phtml</argument>
            <block class="Magento\Framework\View\Element\Template" name="custom.review.popup" template="Remove_Text::popup.phtml">
                <block class="Magento\Review\Block\Form" name="custom.product.review.form" as="custom.review_form" template="Remove_Text::form.phtml"/>

1 Answer 1


For that, you need to override this file in the custom module and remove class "action view".


Please check the SS.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.