How to remove or hide breadcrumbs for a specific page in magento
I'm trying to hide (mostly> advanced search directory> results) crackers only in magento during advanced search results. I don't want to navigate the breading in the results page. Can someone help me make this possible.
Try to use
<remove name="breadcrumbs" />
Inside a specific descriptor of your layout XML file. for example
<catalog_category_default>
<remove name="breadcrumbs" />
</catalog_category_default>
Or try using this in the form of a cms page layout in the backend under CMS-> Pages.
You can make an admin:
CMS-> Pages:
Page Information
Design:
Custom Design
Custom Layout Update XML: <remove name="breadcrumbs" />
You can remove breadcrumbs in a variety of ways in Magento.
For example, if you want to remove from a certain action like (Home> Advanced Catalog Search> Results), you simply update catalogsearch_advanced_result
in the catalogsearch.xml file from your theme with:
<catalogsearch_advanced_result translate="label">
<remove name="breadcrumbs" />
</catalogsearch_advanced_result>
If you want to remove from all dynamic pages add this
<default>
<remove name="breadcrumbs" />
</default>
If you want to delete a CMS page, you simply configure it from the admin panel. Go to
system->configuration and then web->Show Breadcrumbs for CMS Pages.
Refresh your cache and check.
For Magento 2.1
Go to Admin-> Store-> General-> Web-> Default Pages-> Show Breadcrumbs for CMS pages
Select option No. for bread crumbs
Change directory. search.xml to / app / design / frontend / base / default / layout /
Add <remove name="breadcrumbs" />
inside
<catalogsearch_advanced_result translate="label">
<label>Advanced Search Result</label>
<update handle="page_two_columns_right" />
<remove name="breadcrumbs" />
</catalogsearch_advanced_result>
Refresh and check ... Breadcrumbs will only be removed in advanced search results.
In xml layout update, per cms:
<reference name="root">
<remove name="breadcrumbs"/>
</reference>