Skip to main content

just need to remove the particular review not allthe number of review tab?tag

enter image description here Remove/Text this is my vendor and Custom module name

i I just want to remove the "3 Reviews" text from my custom module. for that made, 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">
    <body>
        <referenceBlock name="reviews.tab" />
        <referenceBlock name="product.info.review">
            <action method="setTemplate">
                <argument name="template" xsi:type="string">Remove_Text::review.phtml</argument>
            </action>
            <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"/>
            </block>
        </referenceBlock>
    </body>
</page>

just need to remove the particular review not all review tab?

enter image description here Remove/Text this is my vendor and Custom module name

i just want to remove the "3 Reviews" text from my custom module. for that made *view/frontend/layout/catalog_product_view.xml file

<page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceBlock name="reviews.tab" />
        <referenceBlock name="product.info.review">
            <action method="setTemplate">
                <argument name="template" xsi:type="string">Remove_Text::review.phtml</argument>
            </action>
            <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"/>
            </block>
        </referenceBlock>
    </body>
</page>

need to remove the the number of review tag

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">
    <body>
        <referenceBlock name="reviews.tab" />
        <referenceBlock name="product.info.review">
            <action method="setTemplate">
                <argument name="template" xsi:type="string">Remove_Text::review.phtml</argument>
            </action>
            <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"/>
            </block>
        </referenceBlock>
    </body>
</page>
edited tags
Link
added 84 characters in body
Source Link

enter image description here Remove/Text this is my vendor andCustomand Custom module name

i just want to remove the "3 Reviews" text from my custom module. for that made *view/frontend/layout/catalog_product_view.xml file

<page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceBlock name="reviews.tab" />
        <referenceBlock name="product.info.review">
            <action method="setTemplate">
                <argument name="template" xsi:type="string">Remove_Text::review.phtml</argument>
            </action>
            <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"/>
            </block>
        </referenceBlock>
    </body>
</page>

enter image description here Remove/Text this is my vendor andCustom module name

*view/frontend/layout/catalog_product_view.xml file

<page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceBlock name="reviews.tab" />
        <referenceBlock name="product.info.review">
            <action method="setTemplate">
                <argument name="template" xsi:type="string">Remove_Text::review.phtml</argument>
            </action>
            <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"/>
            </block>
        </referenceBlock>
    </body>
</page>

enter image description here Remove/Text this is my vendor and Custom module name

i just want to remove the "3 Reviews" text from my custom module. for that made *view/frontend/layout/catalog_product_view.xml file

<page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceBlock name="reviews.tab" />
        <referenceBlock name="product.info.review">
            <action method="setTemplate">
                <argument name="template" xsi:type="string">Remove_Text::review.phtml</argument>
            </action>
            <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"/>
            </block>
        </referenceBlock>
    </body>
</page>
added 10 characters in body
Source Link
Loading
Source Link
Loading