简体   繁体   English

Joomla:子菜单消失

[英]Joomla: Sub Menu Disappearing

I have a Joomla install that is using Virtuemart for the shopping cart. 我有一个Joomla安装,该购物车正在使用Virtuemart。

I have noticed as I go through my cart that I am loosing the sub menu and it seems to me that this is happening when I finally access the cart. 当我浏览购物车时,我注意到我正在松开子菜单,在我看来,当我最终访问购物车时,这种情况正在发生。

For example I see the submenu fine on this page 例如,我在此页面上看到很好的子菜单

index.php?option=com_content&view=article&id=11&Itemid=15 but I think this is still running off the below code. index.php?option=com_content&view=article&id=11&Itemid=15但我认为这仍在下面的代码中运行。

Once I click a dropdown menu link and get taken to 点击下拉菜单链接并转到

index.php?option=com_virtuemart&page=shop.browse&category_id=18&Itemid=8

I loose the sub menu 我松开子菜单

Does anyone know what document I edit to enable me to carry the sub menu into Virtuemart? 有人知道我编辑了什么文档以使子菜单可以进入Virtuemart吗?

Code: 码:

<div id="sidebar"> 
        <h2>Products</h2>
                <jdoc:include type="modules" name="leftMenu"/>
        </div>

You likely need to enable that menu item to appear on the virtumart menu item. 您可能需要使该菜单项显示在virtumart菜单项上。 VM uses a single menu id throughout the entire purchase/checkout process. VM在整个购买/结帐过程中使用单个菜单ID。 You'll notice that the Itemid in the url will remain the same all the way through, so any menu items that you want on any aspect of the checkout, will be visible from the beginning to the end. 您会注意到,URL中的Itemid在整个过程中都将保持不变,因此您想要的任何菜单项在结帐的任何方面都将从头到尾可见。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM