Magento - remove block using update XML

前端 未结 2 768
臣服心动
臣服心动 2021-02-12 10:53

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:19

    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 :

    
    
       
         
      
    
    

提交回复
热议问题