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

有帮助吗?

解决方案

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>

其他提示

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>

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"/>

许可以下: CC-BY-SA归因
scroll top