Reputation: 716
I am trying to hide the (Home > Catalog Advanced Search > Results) breadcrumbs alone in magento during the advanced search results. I don't want to navigate through the breadcrumbs in result page. Anybody help me to make this possible.
Upvotes: 4
Views: 19130
Reputation: 195
Magento 2 Code to remove breadcrumbs for CMS Page
<referenceContainer name="page.top">
<referenceBlock name="breadcrumbs" remove="true" />
</referenceContainer>
Upvotes: 3
Reputation: 667
For Magento2 Remove from specific CMS page. Add following on Design >>Layout section of you CMS page
<referenceContainer name="page.top">
<referenceBlock name="breadcrumbs" remove="true"/>
</referenceContainer>
Upvotes: 1
Reputation: 463
In layout update xml, per cms page:
<reference name="root">
<remove name="breadcrumbs"/>
</reference>
Upvotes: 0
Reputation: 111
For Magento 2.1
Goto Admin->Store->General->Web->Default Pages->Show Breadcrumbs for CMS Pages
Select Option No for breadcrumbs
Upvotes: 1
Reputation: 169
You can remove breadcrumbs in various ways in Magento.
For example if you want remove from a specific action like (Home > Catalog Advanced Search > Results) you just update catalogsearch_advanced_result
in 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 remove from a CMS page, you just configure from admin panel. Go to
system->configuration and then web->Show Breadcrumbs for CMS Pages.
Refresh your cache and check.
Upvotes: 2
Reputation: 330
You can do by the admin:
CMS-> Pages:
Page Information
Design:
Custom Design
Custom Layout Update XML: <remove name="breadcrumbs" />
Upvotes: 4
Reputation: 716
Edit catalogsearch.xml in /app/design/frontend/base/default/layout/
Add <remove name="breadcrumbs" />
within
<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 be removed in advanced search result alone.
Upvotes: 0
Reputation: 638
Try using
<remove name="breadcrumbs" />
Within specific handle of your layout xml file. For example
<catalog_category_default>
<remove name="breadcrumbs" />
</catalog_category_default>
Or try using that within the cms page layout form in backend under CMS->Pages.
Upvotes: 10