How to Show Breadcrumbs for Magento CMS Pages
Breadcrumbs
Breadcrumbs is simply a path to a product that is represented with the reference of the Magento store map. It is an important feature that helps visitors navigate easily in the store. With multiple categories and subcategories, visitors can identify on which page they are currently at the store with the help of the breadcrumbs.
Importance of Breadcrumbs in Magento stores:
Breadcrumbs are useful to present the site in an organized and structured manner. It helps visitors easily navigate through the store and easily find the required products. With cutthroat competition, store owners only have a few seconds to convince the visitor to conversion. In such scenarios, speeding up the navigation with breadcrumbs is only wise!
Magento 1 and Magento 2 by default offers to enable the breadcrumbs in the store for easy navigation. Check the below method to learn how to show breadcrumbs for Magento CMS pages. Please note that the backend configuration for Magento 2 is in the reference to the latest version Magento 2.3.0. Moreover, implementing breadcrumb schema markup improves the click-through rate from search.
How to Show Breadcrumbs for Magento CMS Pages
Method 1:
Enable Breadcrumbs for CMS pages in Magento 1:
- Log in to Admin Panel.
- Go to System > Configuration > Web > Default Pages
- Set “YES” for the Show Breadcrumbs for CMS Pages field to enable it. You can disable it any time by setting this option to “No”.
- Click Save Config
Enable Breadcrumbs for CMS pages in Magento 2:
- Log in to Admin Panel.
- Go to Stores > Configuration.
- Under General > Web, expand the Default Pages section.
- Set “YES” for the Show Breadcrumbs for CMS Pages field to enable it. You can disable it any time by setting this option to “No”.
- Click Save Config
Method 2:
Remove Breadcrumbs for CMS pages in Magento 1:
- Log in to Admin Panel
- Go to CMS > Pages.
- Select the page for which you want to remove the breadcrumbs.
- Go to Design under Page Information.
- Place the below code in Layout Update XML as shown in the figure.
123<default><remove name="breadcrumbs" /></default> - Click Save Config
Remove Breadcrumbs for CMS pages in Magento 2:
- Log in to Admin Panel
- Go to Content > Pages.
- Open the page to edit for which you want to remove the breadcrumbs.
- Expand the Design section and place the below code in Layout Update XML as shown in the figure.
123<default><remove name="breadcrumbs" /></default> - Click Save Config.
Follow the above methods to show or hide the breadcrumbs for CMS pages in Magento 1 and Magento 2.
You can post any doubts in method implementation in the Comments section below and I’d be there to help you out ?
Don’t forget to rate the post with 5 stars ?
Thank you..
Sanjay Jethva
Sanjay is the co-founder and CTO of Meetanshi with hands-on expertise with Magento since 2011. He specializes in complex development, integrations, extensions, and customizations. Sanjay is one the top 50 contributor to the Magento community and is recognized by Adobe.
His passion for Magento 2 and Shopify solutions has made him a trusted source for businesses seeking to optimize their online stores. He loves sharing technical solutions related to Magento 2 & Shopify.
4 Comments
maybe needs a reference around the snippet ( for Mage 2 removal )
Hi,
Please refer to the updated blog.
Thanks.
I am sorry to tell you that it is failed when I used your method
Hello,
I could be of more help if you could mention the Magento version that you are using while implementing the above method?
Thanks.