Magento - remove block using update XML

前端 未结 2 1435
天涯浪人
天涯浪人 2021-02-12 10:44

How do I use a layout xml file to remove an already existing block? Specifically, I want to remove the block named \"currency\" from the block named \"top.switches\". It is bein

2条回答
  •  遇见更好的自我
    2021-02-12 11:23

    add file named local.xml in your layout directory . then in local.xml you can remove any block with "remove" tag . BTW the remove tag should be between "layout" and "default" then the file should be :

    
    
       
         
      
    
    

提交回复
热议问题