문제

I have tried to remove breadcrumb from the whole site using below code.

<reference name="root">
    <remove name="breadcrumbs"/>
</reference>

Or just

<remove name="breadcrumbs"/>

When put this code to local.xml it remove Page Title on catalog Pages

Is there any other safe way to remove breadcrumb from the whole site.

도움이 되었습니까?

해결책

Here is safe way to remove breadcrumb.unsetchild instead of remove

    <?xml version="1.0"?>
<layout version="0.1.0">
    <default>
        <reference name="root">            
            <action method="unsetChild"><name>breadcrumbs</name></action>
        </reference>       
    </default> 
</layout>
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top