0

I need help to know How to edit, delete or hide menu (More Information and Reviews) on product page magento 2.

http://prntscr.com/v91f8b

2
  • Please add more information. Oct 30 '20 at 4:07
  • Try this. <referenceBlock name="product.info.details" remove="true"></referenceBlock> Oct 30 '20 at 4:40
0

Go To this file and paste below two lines if not file available in your theme then you create it

app/design/frontend//Magento_Catalog/layout/catalog_product_view.xml

<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceBlock name="product.info.details" remove="true"></referenceBlock>
        <referenceBlock name="reviews.tab" remove="true"></referenceBlock>
    </body>
</page>
0

Try this via Layout XML

like

<referenceBlock name="product.info.details" remove="true"></referenceBlock>

or remove tab with reviews

<referenceBlock name="reviews.tab" remove="true"></referenceBlock>
2
  • please check update me. Oct 30 '20 at 5:03
  • Hello can you give me path to edit line?
    – Coriaas
    Oct 30 '20 at 7:52
0

You can remove product tabs by removing it in catalog_product_view.xml file.

<referenceBlock name="product.info.details" remove="true"/>

<referenceBlock name="reviews.tab" remove="true"/>

2
  • Hello can you show me path to edited
    – Coriaas
    Oct 30 '20 at 7:52
  • You can go to you theme folder app/design/frontend/Vendor/theme_name/Magento_Catalog/layout/catalog_product_view.xm Oct 30 '20 at 7:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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