Magento 2: Override XML file from vendor folder to app folder doesn't work/updateOverride Magento 2 JS file...
How to count occurrences of Friday 13th
What is a term for a function that when called repeatedly, has the same effect as calling once?
Did 5.25" floppies undergo a change in magnetic coating?
Sometimes a banana is just a banana
What is the difference between throw e and throw new Exception(e)?
Logistics of a hovering watercraft in a fantasy setting
What's the difference between a cart and a wagon?
What if I store 10TB on azure servers and then keep the vm powered off?
It took me a lot of time to make this, pls like. (YouTube Comments #1)
Is divide-by-zero a security vulnerability?
Replacement ford fiesta radiator has extra hose
Easy code troubleshooting in wordpress
What's the purpose of these copper coils with resistors inside them in A Yamaha RX-V396RDS amplifier?
Why does the 31P{1H} NMR spectrum of cis-[Mo(CO)2(dppe)2] show two signals?
Use comma instead of & in table
Can chords be played on the flute?
Why does Starman/Roadster have radial acceleration?
You'll find me clean when something is full
Did Amazon pay $0 in taxes last year?
Is the set of paths between any two points moving only in units on the plane countable or uncountable?
What do the pedals on grand pianos do?
Can you use a beast's innate abilities while polymorphed?
When should a commit not be version tagged?
If nine coins are tossed, what is the probability that the number of heads is even?
Magento 2: Override XML file from vendor folder to app folder doesn't work/update
Override Magento 2 JS file via requirejs-config.js not workingcan't override “modal-slide.html”Magento2: Add JS from Admin CMS page Design “layout update XML”Overriding core layout XML located in “base” not in “frontend”Override template phtml file in magento 2?How to override magento theme layout fileMagento Override frontend template in custom module fileDifference between Extend a layout and Override layoutMagento 2 Knockout XML->PHTML->JS->HTMLcatalog_product_view.xml is loading from vendor folder, instead of theme folder
I tried to override the XML file by copying the file from
vendor/magento/module-catalog/view/frontend/layout/catalog_category_view_type_default.xml
to
app/design/frontend/Infortis/base/Magento_Catalog/layout/catalog_category_view_type_default.xml
However, it is still loading the file from the vendor folder. I have tried clear & flush the cache, redeploy static content, but doesn't work.
below is the change i made ( comment out the container)
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<!--<referenceContainer name="sidebar.main">
<block class="MagentoCatalogBlockNavigation" name="catalog.leftnav" before="-" template="Magento_Catalog::navigation/left.phtml"/>
</referenceContainer>--> <!--remove shop by category from category listing page -->
</body>
</page>
magento2 layout overrides xml
add a comment |
I tried to override the XML file by copying the file from
vendor/magento/module-catalog/view/frontend/layout/catalog_category_view_type_default.xml
to
app/design/frontend/Infortis/base/Magento_Catalog/layout/catalog_category_view_type_default.xml
However, it is still loading the file from the vendor folder. I have tried clear & flush the cache, redeploy static content, but doesn't work.
below is the change i made ( comment out the container)
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<!--<referenceContainer name="sidebar.main">
<block class="MagentoCatalogBlockNavigation" name="catalog.leftnav" before="-" template="Magento_Catalog::navigation/left.phtml"/>
</referenceContainer>--> <!--remove shop by category from category listing page -->
</body>
</page>
magento2 layout overrides xml
There could be 2 reasons, 1- your theme folder is in correct, ( i.e base ) move your folder to other folder which is actually being used by the theme. 2- Magento_Catalog layout is overriding by another module.
– Naveed Asim
46 mins ago
you want to removesidebar.main
allover website?
– Rakesh Donga
15 mins ago
add a comment |
I tried to override the XML file by copying the file from
vendor/magento/module-catalog/view/frontend/layout/catalog_category_view_type_default.xml
to
app/design/frontend/Infortis/base/Magento_Catalog/layout/catalog_category_view_type_default.xml
However, it is still loading the file from the vendor folder. I have tried clear & flush the cache, redeploy static content, but doesn't work.
below is the change i made ( comment out the container)
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<!--<referenceContainer name="sidebar.main">
<block class="MagentoCatalogBlockNavigation" name="catalog.leftnav" before="-" template="Magento_Catalog::navigation/left.phtml"/>
</referenceContainer>--> <!--remove shop by category from category listing page -->
</body>
</page>
magento2 layout overrides xml
I tried to override the XML file by copying the file from
vendor/magento/module-catalog/view/frontend/layout/catalog_category_view_type_default.xml
to
app/design/frontend/Infortis/base/Magento_Catalog/layout/catalog_category_view_type_default.xml
However, it is still loading the file from the vendor folder. I have tried clear & flush the cache, redeploy static content, but doesn't work.
below is the change i made ( comment out the container)
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<!--<referenceContainer name="sidebar.main">
<block class="MagentoCatalogBlockNavigation" name="catalog.leftnav" before="-" template="Magento_Catalog::navigation/left.phtml"/>
</referenceContainer>--> <!--remove shop by category from category listing page -->
</body>
</page>
magento2 layout overrides xml
magento2 layout overrides xml
edited 18 mins ago
Kris Wen
asked 54 mins ago
Kris WenKris Wen
377
377
There could be 2 reasons, 1- your theme folder is in correct, ( i.e base ) move your folder to other folder which is actually being used by the theme. 2- Magento_Catalog layout is overriding by another module.
– Naveed Asim
46 mins ago
you want to removesidebar.main
allover website?
– Rakesh Donga
15 mins ago
add a comment |
There could be 2 reasons, 1- your theme folder is in correct, ( i.e base ) move your folder to other folder which is actually being used by the theme. 2- Magento_Catalog layout is overriding by another module.
– Naveed Asim
46 mins ago
you want to removesidebar.main
allover website?
– Rakesh Donga
15 mins ago
There could be 2 reasons, 1- your theme folder is in correct, ( i.e base ) move your folder to other folder which is actually being used by the theme. 2- Magento_Catalog layout is overriding by another module.
– Naveed Asim
46 mins ago
There could be 2 reasons, 1- your theme folder is in correct, ( i.e base ) move your folder to other folder which is actually being used by the theme. 2- Magento_Catalog layout is overriding by another module.
– Naveed Asim
46 mins ago
you want to remove
sidebar.main
allover website?– Rakesh Donga
15 mins ago
you want to remove
sidebar.main
allover website?– Rakesh Donga
15 mins ago
add a comment |
2 Answers
2
active
oldest
votes
If Infortis/base
is your theme name (base
is a weird name to give to a theme and usually this is written in CamelCase
) and you have set your theme up like here then there are certain rules before it will show
- Select your theme under Content > Design > Configuration > Select the right store and select
Infortis/base
there. The theme that you select there is the one that does the xml changes. - In your XML you need to use
referenceBlock
,referenceContainer
or create a new block/container. More documentation here
- In developer mode you can check your
magento_root/var/log/system.log
to check for parents that a block maybe can not find. Be sure that your log level in yournginx
orapache
settings are set to log all - You should consider load orders. More information here
UPDATE
Commenting out something does not remove anything. You do not 'overwrite' the XML but extend it by using it.
You can however remove something like this :
<referenceContainer name="name-of-the-container" remove="true"/>
<referenceBlock name="name-of-the-block" remove="true"/>
my theme name is Infortis/ultimo, which is the child of the infortis/base theme. I also tried to put into the Ultimo folder in app/design/frontend/Infortis/ultimo/Magento_Catalog/layout/, but still not working. I'm only commenting out the "<referenceContainer name="sidebar.main"> ...." in the xml. i will check through the log file. thanks
– Kris Wen
34 mins ago
What is it exactly that you have changed in the xml?
– CompactCode
25 mins ago
I'm commenting out the "<referenceContainer name="sidebar.main">" container, so that the "Shop By Category" can be remove from the category view page. (Updated my question with the change i made to the xml file)
– Kris Wen
20 mins ago
See my updated answer
– CompactCode
13 mins ago
that works! thanks a lot. still a lot to learn =)
– Kris Wen
10 mins ago
|
show 1 more comment
Try to this way...
vendor/magento/module-catalog/view/frontend/layout/catalog_category_view_type_default.xml
to app/design/frontend/Infortis/ultimo/Magento_Catalog/layout/catalog_category_view_type_default.xml
"
Or
open this file app/design/frontend/Infortis/ultimo/Infortis_Ultimo/layout/default.xml
and add below code
<referenceBlock name="sidebar.main" remove="true"/>
Please don't forget to clear cache after change in xml files
unfortunately, it doesn't work
– Kris Wen
39 mins ago
i have checked my side this is working you have which mode in working ?
– Rakesh Donga
38 mins ago
i'm on developer mode. should i switch to another mode?
– Kris Wen
33 mins ago
no mate you have created file my follow path? also check which theme you are check again
– Rakesh Donga
30 mins ago
yes, i created the file using the path you provided. it's pretty weird issue..
– Kris Wen
27 mins ago
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%2f264383%2fmagento-2-override-xml-file-from-vendor-folder-to-app-folder-doesnt-work-updat%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
If Infortis/base
is your theme name (base
is a weird name to give to a theme and usually this is written in CamelCase
) and you have set your theme up like here then there are certain rules before it will show
- Select your theme under Content > Design > Configuration > Select the right store and select
Infortis/base
there. The theme that you select there is the one that does the xml changes. - In your XML you need to use
referenceBlock
,referenceContainer
or create a new block/container. More documentation here
- In developer mode you can check your
magento_root/var/log/system.log
to check for parents that a block maybe can not find. Be sure that your log level in yournginx
orapache
settings are set to log all - You should consider load orders. More information here
UPDATE
Commenting out something does not remove anything. You do not 'overwrite' the XML but extend it by using it.
You can however remove something like this :
<referenceContainer name="name-of-the-container" remove="true"/>
<referenceBlock name="name-of-the-block" remove="true"/>
my theme name is Infortis/ultimo, which is the child of the infortis/base theme. I also tried to put into the Ultimo folder in app/design/frontend/Infortis/ultimo/Magento_Catalog/layout/, but still not working. I'm only commenting out the "<referenceContainer name="sidebar.main"> ...." in the xml. i will check through the log file. thanks
– Kris Wen
34 mins ago
What is it exactly that you have changed in the xml?
– CompactCode
25 mins ago
I'm commenting out the "<referenceContainer name="sidebar.main">" container, so that the "Shop By Category" can be remove from the category view page. (Updated my question with the change i made to the xml file)
– Kris Wen
20 mins ago
See my updated answer
– CompactCode
13 mins ago
that works! thanks a lot. still a lot to learn =)
– Kris Wen
10 mins ago
|
show 1 more comment
If Infortis/base
is your theme name (base
is a weird name to give to a theme and usually this is written in CamelCase
) and you have set your theme up like here then there are certain rules before it will show
- Select your theme under Content > Design > Configuration > Select the right store and select
Infortis/base
there. The theme that you select there is the one that does the xml changes. - In your XML you need to use
referenceBlock
,referenceContainer
or create a new block/container. More documentation here
- In developer mode you can check your
magento_root/var/log/system.log
to check for parents that a block maybe can not find. Be sure that your log level in yournginx
orapache
settings are set to log all - You should consider load orders. More information here
UPDATE
Commenting out something does not remove anything. You do not 'overwrite' the XML but extend it by using it.
You can however remove something like this :
<referenceContainer name="name-of-the-container" remove="true"/>
<referenceBlock name="name-of-the-block" remove="true"/>
my theme name is Infortis/ultimo, which is the child of the infortis/base theme. I also tried to put into the Ultimo folder in app/design/frontend/Infortis/ultimo/Magento_Catalog/layout/, but still not working. I'm only commenting out the "<referenceContainer name="sidebar.main"> ...." in the xml. i will check through the log file. thanks
– Kris Wen
34 mins ago
What is it exactly that you have changed in the xml?
– CompactCode
25 mins ago
I'm commenting out the "<referenceContainer name="sidebar.main">" container, so that the "Shop By Category" can be remove from the category view page. (Updated my question with the change i made to the xml file)
– Kris Wen
20 mins ago
See my updated answer
– CompactCode
13 mins ago
that works! thanks a lot. still a lot to learn =)
– Kris Wen
10 mins ago
|
show 1 more comment
If Infortis/base
is your theme name (base
is a weird name to give to a theme and usually this is written in CamelCase
) and you have set your theme up like here then there are certain rules before it will show
- Select your theme under Content > Design > Configuration > Select the right store and select
Infortis/base
there. The theme that you select there is the one that does the xml changes. - In your XML you need to use
referenceBlock
,referenceContainer
or create a new block/container. More documentation here
- In developer mode you can check your
magento_root/var/log/system.log
to check for parents that a block maybe can not find. Be sure that your log level in yournginx
orapache
settings are set to log all - You should consider load orders. More information here
UPDATE
Commenting out something does not remove anything. You do not 'overwrite' the XML but extend it by using it.
You can however remove something like this :
<referenceContainer name="name-of-the-container" remove="true"/>
<referenceBlock name="name-of-the-block" remove="true"/>
If Infortis/base
is your theme name (base
is a weird name to give to a theme and usually this is written in CamelCase
) and you have set your theme up like here then there are certain rules before it will show
- Select your theme under Content > Design > Configuration > Select the right store and select
Infortis/base
there. The theme that you select there is the one that does the xml changes. - In your XML you need to use
referenceBlock
,referenceContainer
or create a new block/container. More documentation here
- In developer mode you can check your
magento_root/var/log/system.log
to check for parents that a block maybe can not find. Be sure that your log level in yournginx
orapache
settings are set to log all - You should consider load orders. More information here
UPDATE
Commenting out something does not remove anything. You do not 'overwrite' the XML but extend it by using it.
You can however remove something like this :
<referenceContainer name="name-of-the-container" remove="true"/>
<referenceBlock name="name-of-the-block" remove="true"/>
edited 13 mins ago
answered 41 mins ago
CompactCodeCompactCode
1,492624
1,492624
my theme name is Infortis/ultimo, which is the child of the infortis/base theme. I also tried to put into the Ultimo folder in app/design/frontend/Infortis/ultimo/Magento_Catalog/layout/, but still not working. I'm only commenting out the "<referenceContainer name="sidebar.main"> ...." in the xml. i will check through the log file. thanks
– Kris Wen
34 mins ago
What is it exactly that you have changed in the xml?
– CompactCode
25 mins ago
I'm commenting out the "<referenceContainer name="sidebar.main">" container, so that the "Shop By Category" can be remove from the category view page. (Updated my question with the change i made to the xml file)
– Kris Wen
20 mins ago
See my updated answer
– CompactCode
13 mins ago
that works! thanks a lot. still a lot to learn =)
– Kris Wen
10 mins ago
|
show 1 more comment
my theme name is Infortis/ultimo, which is the child of the infortis/base theme. I also tried to put into the Ultimo folder in app/design/frontend/Infortis/ultimo/Magento_Catalog/layout/, but still not working. I'm only commenting out the "<referenceContainer name="sidebar.main"> ...." in the xml. i will check through the log file. thanks
– Kris Wen
34 mins ago
What is it exactly that you have changed in the xml?
– CompactCode
25 mins ago
I'm commenting out the "<referenceContainer name="sidebar.main">" container, so that the "Shop By Category" can be remove from the category view page. (Updated my question with the change i made to the xml file)
– Kris Wen
20 mins ago
See my updated answer
– CompactCode
13 mins ago
that works! thanks a lot. still a lot to learn =)
– Kris Wen
10 mins ago
my theme name is Infortis/ultimo, which is the child of the infortis/base theme. I also tried to put into the Ultimo folder in app/design/frontend/Infortis/ultimo/Magento_Catalog/layout/, but still not working. I'm only commenting out the "<referenceContainer name="sidebar.main"> ...." in the xml. i will check through the log file. thanks
– Kris Wen
34 mins ago
my theme name is Infortis/ultimo, which is the child of the infortis/base theme. I also tried to put into the Ultimo folder in app/design/frontend/Infortis/ultimo/Magento_Catalog/layout/, but still not working. I'm only commenting out the "<referenceContainer name="sidebar.main"> ...." in the xml. i will check through the log file. thanks
– Kris Wen
34 mins ago
What is it exactly that you have changed in the xml?
– CompactCode
25 mins ago
What is it exactly that you have changed in the xml?
– CompactCode
25 mins ago
I'm commenting out the "<referenceContainer name="sidebar.main">" container, so that the "Shop By Category" can be remove from the category view page. (Updated my question with the change i made to the xml file)
– Kris Wen
20 mins ago
I'm commenting out the "<referenceContainer name="sidebar.main">" container, so that the "Shop By Category" can be remove from the category view page. (Updated my question with the change i made to the xml file)
– Kris Wen
20 mins ago
See my updated answer
– CompactCode
13 mins ago
See my updated answer
– CompactCode
13 mins ago
that works! thanks a lot. still a lot to learn =)
– Kris Wen
10 mins ago
that works! thanks a lot. still a lot to learn =)
– Kris Wen
10 mins ago
|
show 1 more comment
Try to this way...
vendor/magento/module-catalog/view/frontend/layout/catalog_category_view_type_default.xml
to app/design/frontend/Infortis/ultimo/Magento_Catalog/layout/catalog_category_view_type_default.xml
"
Or
open this file app/design/frontend/Infortis/ultimo/Infortis_Ultimo/layout/default.xml
and add below code
<referenceBlock name="sidebar.main" remove="true"/>
Please don't forget to clear cache after change in xml files
unfortunately, it doesn't work
– Kris Wen
39 mins ago
i have checked my side this is working you have which mode in working ?
– Rakesh Donga
38 mins ago
i'm on developer mode. should i switch to another mode?
– Kris Wen
33 mins ago
no mate you have created file my follow path? also check which theme you are check again
– Rakesh Donga
30 mins ago
yes, i created the file using the path you provided. it's pretty weird issue..
– Kris Wen
27 mins ago
add a comment |
Try to this way...
vendor/magento/module-catalog/view/frontend/layout/catalog_category_view_type_default.xml
to app/design/frontend/Infortis/ultimo/Magento_Catalog/layout/catalog_category_view_type_default.xml
"
Or
open this file app/design/frontend/Infortis/ultimo/Infortis_Ultimo/layout/default.xml
and add below code
<referenceBlock name="sidebar.main" remove="true"/>
Please don't forget to clear cache after change in xml files
unfortunately, it doesn't work
– Kris Wen
39 mins ago
i have checked my side this is working you have which mode in working ?
– Rakesh Donga
38 mins ago
i'm on developer mode. should i switch to another mode?
– Kris Wen
33 mins ago
no mate you have created file my follow path? also check which theme you are check again
– Rakesh Donga
30 mins ago
yes, i created the file using the path you provided. it's pretty weird issue..
– Kris Wen
27 mins ago
add a comment |
Try to this way...
vendor/magento/module-catalog/view/frontend/layout/catalog_category_view_type_default.xml
to app/design/frontend/Infortis/ultimo/Magento_Catalog/layout/catalog_category_view_type_default.xml
"
Or
open this file app/design/frontend/Infortis/ultimo/Infortis_Ultimo/layout/default.xml
and add below code
<referenceBlock name="sidebar.main" remove="true"/>
Please don't forget to clear cache after change in xml files
Try to this way...
vendor/magento/module-catalog/view/frontend/layout/catalog_category_view_type_default.xml
to app/design/frontend/Infortis/ultimo/Magento_Catalog/layout/catalog_category_view_type_default.xml
"
Or
open this file app/design/frontend/Infortis/ultimo/Infortis_Ultimo/layout/default.xml
and add below code
<referenceBlock name="sidebar.main" remove="true"/>
Please don't forget to clear cache after change in xml files
edited 11 mins ago
answered 46 mins ago
Rakesh DongaRakesh Donga
1,483316
1,483316
unfortunately, it doesn't work
– Kris Wen
39 mins ago
i have checked my side this is working you have which mode in working ?
– Rakesh Donga
38 mins ago
i'm on developer mode. should i switch to another mode?
– Kris Wen
33 mins ago
no mate you have created file my follow path? also check which theme you are check again
– Rakesh Donga
30 mins ago
yes, i created the file using the path you provided. it's pretty weird issue..
– Kris Wen
27 mins ago
add a comment |
unfortunately, it doesn't work
– Kris Wen
39 mins ago
i have checked my side this is working you have which mode in working ?
– Rakesh Donga
38 mins ago
i'm on developer mode. should i switch to another mode?
– Kris Wen
33 mins ago
no mate you have created file my follow path? also check which theme you are check again
– Rakesh Donga
30 mins ago
yes, i created the file using the path you provided. it's pretty weird issue..
– Kris Wen
27 mins ago
unfortunately, it doesn't work
– Kris Wen
39 mins ago
unfortunately, it doesn't work
– Kris Wen
39 mins ago
i have checked my side this is working you have which mode in working ?
– Rakesh Donga
38 mins ago
i have checked my side this is working you have which mode in working ?
– Rakesh Donga
38 mins ago
i'm on developer mode. should i switch to another mode?
– Kris Wen
33 mins ago
i'm on developer mode. should i switch to another mode?
– Kris Wen
33 mins ago
no mate you have created file my follow path? also check which theme you are check again
– Rakesh Donga
30 mins ago
no mate you have created file my follow path? also check which theme you are check again
– Rakesh Donga
30 mins ago
yes, i created the file using the path you provided. it's pretty weird issue..
– Kris Wen
27 mins ago
yes, i created the file using the path you provided. it's pretty weird issue..
– Kris Wen
27 mins ago
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%2f264383%2fmagento-2-override-xml-file-from-vendor-folder-to-app-folder-doesnt-work-updat%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
There could be 2 reasons, 1- your theme folder is in correct, ( i.e base ) move your folder to other folder which is actually being used by the theme. 2- Magento_Catalog layout is overriding by another module.
– Naveed Asim
46 mins ago
you want to remove
sidebar.main
allover website?– Rakesh Donga
15 mins ago