How to remove breadcrumbs from category page in Magento 2
I am messing with an issue in Magento 2 site. I have to remove breadcrumbs from the category page. I have also to remove the toolbar from the same page.
Please help!
Thanks in advance.
magento2
add a comment |
I am messing with an issue in Magento 2 site. I have to remove breadcrumbs from the category page. I have also to remove the toolbar from the same page.
Please help!
Thanks in advance.
magento2
you can check my answer below.
– Dinesh Yadav
Jun 30 '17 at 12:54
add a comment |
I am messing with an issue in Magento 2 site. I have to remove breadcrumbs from the category page. I have also to remove the toolbar from the same page.
Please help!
Thanks in advance.
magento2
I am messing with an issue in Magento 2 site. I have to remove breadcrumbs from the category page. I have also to remove the toolbar from the same page.
Please help!
Thanks in advance.
magento2
magento2
edited Oct 26 '17 at 10:35
Amrit Pal Singh
asked Jun 30 '17 at 12:24
Amrit Pal SinghAmrit Pal Singh
769523
769523
you can check my answer below.
– Dinesh Yadav
Jun 30 '17 at 12:54
add a comment |
you can check my answer below.
– Dinesh Yadav
Jun 30 '17 at 12:54
you can check my answer below.
– Dinesh Yadav
Jun 30 '17 at 12:54
you can check my answer below.
– Dinesh Yadav
Jun 30 '17 at 12:54
add a comment |
4 Answers
4
active
oldest
votes
Add below code to remove breadcrumbs from category pages
app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml
<referenceBlock name="breadcrumbs" remove="true" />
For remove toolbar
<referenceBlock name="product_list_toolbar" display="false" />
Remove var/cache and var/page_cache folder.
Thank you for the information this was helpful.
For Magento 2.2.5 use the code below
<referenceContainer name="breadcrumbs" remove="true" />
add a comment |
Add below code to remove breadcrumbs from category pages
app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml
<referenceBlock name="breadcrumbs" remove="true" />
And for removing toolbar, Comment out below line form list.phtml
app/design/frontend/Vendor/Theme/Magento_Catalog/templates/product/list.phtml
the 2 lines with
<?php echo $block->getToolbarHtml() ?>
You can see more here
I have to remove toolbar also in same page
– Amrit Pal Singh
Jun 30 '17 at 12:34
See my updated answer
– Suresh Chikani
Jun 30 '17 at 12:35
If my solution is works for you, Accept my answer.
– Suresh Chikani
Jun 30 '17 at 12:38
Toolbar is not getting hidden
– Amrit Pal Singh
Jun 30 '17 at 12:39
I have added the picture
– Amrit Pal Singh
Jun 30 '17 at 12:45
|
show 5 more comments
Navigate to
app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml
and put below code in <body>
tag
<referenceBlock name="breadcrumbs" remove="true" />
<referenceBlock name="product_list_toolbar" display="false" />
add a comment |
You can try the below code in your layout file catalog_category_view.xml file.
<referenceBlock name="breadcrumbs" remove="true" />
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f181532%2fhow-to-remove-breadcrumbs-from-category-page-in-magento-2%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
Add below code to remove breadcrumbs from category pages
app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml
<referenceBlock name="breadcrumbs" remove="true" />
For remove toolbar
<referenceBlock name="product_list_toolbar" display="false" />
Remove var/cache and var/page_cache folder.
Thank you for the information this was helpful.
For Magento 2.2.5 use the code below
<referenceContainer name="breadcrumbs" remove="true" />
add a comment |
Add below code to remove breadcrumbs from category pages
app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml
<referenceBlock name="breadcrumbs" remove="true" />
For remove toolbar
<referenceBlock name="product_list_toolbar" display="false" />
Remove var/cache and var/page_cache folder.
Thank you for the information this was helpful.
For Magento 2.2.5 use the code below
<referenceContainer name="breadcrumbs" remove="true" />
add a comment |
Add below code to remove breadcrumbs from category pages
app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml
<referenceBlock name="breadcrumbs" remove="true" />
For remove toolbar
<referenceBlock name="product_list_toolbar" display="false" />
Remove var/cache and var/page_cache folder.
Thank you for the information this was helpful.
For Magento 2.2.5 use the code below
<referenceContainer name="breadcrumbs" remove="true" />
Add below code to remove breadcrumbs from category pages
app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml
<referenceBlock name="breadcrumbs" remove="true" />
For remove toolbar
<referenceBlock name="product_list_toolbar" display="false" />
Remove var/cache and var/page_cache folder.
Thank you for the information this was helpful.
For Magento 2.2.5 use the code below
<referenceContainer name="breadcrumbs" remove="true" />
edited 26 mins ago
Rayed
153
153
answered Jun 30 '17 at 13:30
Suresh ChikaniSuresh Chikani
10.3k53371
10.3k53371
add a comment |
add a comment |
Add below code to remove breadcrumbs from category pages
app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml
<referenceBlock name="breadcrumbs" remove="true" />
And for removing toolbar, Comment out below line form list.phtml
app/design/frontend/Vendor/Theme/Magento_Catalog/templates/product/list.phtml
the 2 lines with
<?php echo $block->getToolbarHtml() ?>
You can see more here
I have to remove toolbar also in same page
– Amrit Pal Singh
Jun 30 '17 at 12:34
See my updated answer
– Suresh Chikani
Jun 30 '17 at 12:35
If my solution is works for you, Accept my answer.
– Suresh Chikani
Jun 30 '17 at 12:38
Toolbar is not getting hidden
– Amrit Pal Singh
Jun 30 '17 at 12:39
I have added the picture
– Amrit Pal Singh
Jun 30 '17 at 12:45
|
show 5 more comments
Add below code to remove breadcrumbs from category pages
app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml
<referenceBlock name="breadcrumbs" remove="true" />
And for removing toolbar, Comment out below line form list.phtml
app/design/frontend/Vendor/Theme/Magento_Catalog/templates/product/list.phtml
the 2 lines with
<?php echo $block->getToolbarHtml() ?>
You can see more here
I have to remove toolbar also in same page
– Amrit Pal Singh
Jun 30 '17 at 12:34
See my updated answer
– Suresh Chikani
Jun 30 '17 at 12:35
If my solution is works for you, Accept my answer.
– Suresh Chikani
Jun 30 '17 at 12:38
Toolbar is not getting hidden
– Amrit Pal Singh
Jun 30 '17 at 12:39
I have added the picture
– Amrit Pal Singh
Jun 30 '17 at 12:45
|
show 5 more comments
Add below code to remove breadcrumbs from category pages
app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml
<referenceBlock name="breadcrumbs" remove="true" />
And for removing toolbar, Comment out below line form list.phtml
app/design/frontend/Vendor/Theme/Magento_Catalog/templates/product/list.phtml
the 2 lines with
<?php echo $block->getToolbarHtml() ?>
You can see more here
Add below code to remove breadcrumbs from category pages
app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml
<referenceBlock name="breadcrumbs" remove="true" />
And for removing toolbar, Comment out below line form list.phtml
app/design/frontend/Vendor/Theme/Magento_Catalog/templates/product/list.phtml
the 2 lines with
<?php echo $block->getToolbarHtml() ?>
You can see more here
edited Jun 30 '17 at 12:45
answered Jun 30 '17 at 12:32
Suresh ChikaniSuresh Chikani
10.3k53371
10.3k53371
I have to remove toolbar also in same page
– Amrit Pal Singh
Jun 30 '17 at 12:34
See my updated answer
– Suresh Chikani
Jun 30 '17 at 12:35
If my solution is works for you, Accept my answer.
– Suresh Chikani
Jun 30 '17 at 12:38
Toolbar is not getting hidden
– Amrit Pal Singh
Jun 30 '17 at 12:39
I have added the picture
– Amrit Pal Singh
Jun 30 '17 at 12:45
|
show 5 more comments
I have to remove toolbar also in same page
– Amrit Pal Singh
Jun 30 '17 at 12:34
See my updated answer
– Suresh Chikani
Jun 30 '17 at 12:35
If my solution is works for you, Accept my answer.
– Suresh Chikani
Jun 30 '17 at 12:38
Toolbar is not getting hidden
– Amrit Pal Singh
Jun 30 '17 at 12:39
I have added the picture
– Amrit Pal Singh
Jun 30 '17 at 12:45
I have to remove toolbar also in same page
– Amrit Pal Singh
Jun 30 '17 at 12:34
I have to remove toolbar also in same page
– Amrit Pal Singh
Jun 30 '17 at 12:34
See my updated answer
– Suresh Chikani
Jun 30 '17 at 12:35
See my updated answer
– Suresh Chikani
Jun 30 '17 at 12:35
If my solution is works for you, Accept my answer.
– Suresh Chikani
Jun 30 '17 at 12:38
If my solution is works for you, Accept my answer.
– Suresh Chikani
Jun 30 '17 at 12:38
Toolbar is not getting hidden
– Amrit Pal Singh
Jun 30 '17 at 12:39
Toolbar is not getting hidden
– Amrit Pal Singh
Jun 30 '17 at 12:39
I have added the picture
– Amrit Pal Singh
Jun 30 '17 at 12:45
I have added the picture
– Amrit Pal Singh
Jun 30 '17 at 12:45
|
show 5 more comments
Navigate to
app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml
and put below code in <body>
tag
<referenceBlock name="breadcrumbs" remove="true" />
<referenceBlock name="product_list_toolbar" display="false" />
add a comment |
Navigate to
app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml
and put below code in <body>
tag
<referenceBlock name="breadcrumbs" remove="true" />
<referenceBlock name="product_list_toolbar" display="false" />
add a comment |
Navigate to
app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml
and put below code in <body>
tag
<referenceBlock name="breadcrumbs" remove="true" />
<referenceBlock name="product_list_toolbar" display="false" />
Navigate to
app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml
and put below code in <body>
tag
<referenceBlock name="breadcrumbs" remove="true" />
<referenceBlock name="product_list_toolbar" display="false" />
edited Jun 30 '17 at 12:53
answered Jun 30 '17 at 12:33
Dinesh YadavDinesh Yadav
4,0701937
4,0701937
add a comment |
add a comment |
You can try the below code in your layout file catalog_category_view.xml file.
<referenceBlock name="breadcrumbs" remove="true" />
add a comment |
You can try the below code in your layout file catalog_category_view.xml file.
<referenceBlock name="breadcrumbs" remove="true" />
add a comment |
You can try the below code in your layout file catalog_category_view.xml file.
<referenceBlock name="breadcrumbs" remove="true" />
You can try the below code in your layout file catalog_category_view.xml file.
<referenceBlock name="breadcrumbs" remove="true" />
edited Jun 30 '17 at 12:46
Dinesh Yadav
4,0701937
4,0701937
answered Jun 30 '17 at 12:30
JjoJjo
835214
835214
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f181532%2fhow-to-remove-breadcrumbs-from-category-page-in-magento-2%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
you can check my answer below.
– Dinesh Yadav
Jun 30 '17 at 12:54