简体   繁体   English

如何隐藏打开的购物车2中的模块下拉列表

[英]How to hide module drop down in open cart 2

I am new to Open cart. 我是Open购物车的新手。

I am want to hide the drop down arrow list of the module in the open cart admin panel. 我想在打开的购物车管理面板中隐藏该模块的下拉箭头列表。 After hide in module only see the module list not the Payment gateway etc. I don't know what settings and how to change in hard code files. 隐藏在模块中之后,仅看到模块列表,而不是付款网关等。我不知道硬编码文件中的设置和更改方式。 If anybody knows please tell me. 如果有人知道,请告诉我。 Thank You. 谢谢。

for this just go into Admin > View > Template > Common > menu.tpl 为此,只需进入管理>视图>模板>通用> menu.tpl

Search for this: <li><a href="<?php echo $module; ?>"><?php echo $text_module; ?></a></li> 搜索以下内容: <li><a href="<?php echo $module; ?>"><?php echo $text_module; ?></a></li> <li><a href="<?php echo $module; ?>"><?php echo $text_module; ?></a></li>

And remove it or you can add class "hidden" in <li> 删除它,或者您可以在<li>中添加“ hidden”类

If you don't want to hard code it. 如果您不想对其进行硬编码。 You can also do it via VQmod. 您也可以通过VQmod进行操作。

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

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