문제

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 ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top