2014-01-17 50 views
0

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"> 

我该如何解决这个问题?请帮助我谢谢

+0

你好使模板路径的提示。管理员面板:系统 - >配置 - >开发者(页面底部的方式) 选择网站或商店视图要启用此.->调试 - >模板路径提示 – MagikVishal

+0

我刚刚启用。我现在应该怎么做 ?? – ARthe

+0

检查前端,你会知道哪个模板是重复的 – MagikVishal

回答

0

我发现这个问题引起了这个div - 。它包含这个“第二个菜单”。用这个组合id =“spy”查看你的项目。您填写查找phtml或php文件,而不是每个模块。如果您没有找到它,请转至管理 - >系统 - > CMS并尝试查找此页或静态块。

此致敬礼!

0

嗨,我一直在同一主题。 刚刚尝试改变引导-responsive.css文件行号53这样:

.visible-desktop {display: none !important} 
+0

如果这个答案workrd你,那么你可以标记为正确的答案。 – Ashlesha

1

。可见桌面{ 显示:无重要; }

它会为你工作 试试这个,我只是在Firebug测试这个给你:)

相关问题