Magento显示顶部(分类)菜单,搜索框和购物车两次。Magento显示顶部菜单,搜索框和购物车两次
点击Here is my site link此页面显示菜单搜索框和购物车两次。
在我看来,正在执行的header.phtml两次
这里是头XML 我把这个/应用程序/设计/前端/默认/ buyshop /布局/ layout.xml
排名靠前
<block type="buyshopconfig/navigation" name="buyshop.collapsedmenu" as="mobileMenu"
template="page/html/mobilemenu.phtml"/>
<block type="buyshopconfig/navigation" name="buyshop.advmenu.amazing" as="advMenuamazing"
template="page/html/topmenu_amazing.phtml"/>
<reference name="top.menu">
<action method="unsetChild"><name>catalog.topnav</name></action>
<block type="buyshopconfig/navigation" name="catalog.topnav.menu" template="page/html/topmenu.phtml"/>
</reference>
<block type="directory/currency" name="currency" template="page/switch/currency.phtml"/>
<action method="insert">
<block_name_to_insert>top.links</block_name_to_insert>
<sort_relative_to_other_childname/>
<sort_before_or_after/>
<alias>topLinks</alias>
</action>
</reference>
<!--HEADER EOF-->
<reference name="left">
<action method="unsetChild">
<name>topLinks</name>
</action>
<block type="buyshopconfig/navigation" name="leftmenu" as="leftmenu" template="page/html/leftmenu.phtml" before="-"/>
</reference>
<reference name="top.links">
<block type="buyshopconfig/comparelink" name="compare_link"/>
<action method="addLinkBlock">
<blockName>compare_link</blockName>
</action>
</reference>
<!--FOOTER-->
<reference name="footer">
<block type="newsletter/subscribe" name="footer.newsletter" as="footer_newsletter" template="newsletter/subscribe.phtml"/>
</reference>
<!--FOOTER EOF-->
<remove name="catalog.leftnav" />
</default>
<cms_index_index>
<reference name="root">
我该如何解决这个问题?请帮助我谢谢
你好使模板路径的提示。管理员面板:系统 - >配置 - >开发者(页面底部的方式) 选择网站或商店视图要启用此.->调试 - >模板路径提示 – MagikVishal
我刚刚启用。我现在应该怎么做 ?? – ARthe
检查前端,你会知道哪个模板是重复的 – MagikVishal