I want to edit the parent category link, at the moment it doesn't do anything except display the dropdown menu, anyone know how to edit this?
答案 0 :(得分:0)
只需 提示 ,您感兴趣的代码(类别的导航栏)将写在标题的相同文件中:
<OC_ROOT>/catalog/view/theme/<Your_Theme_Folder>/template/common/header.tpl
<?php foreach ($categories as $category) { ?>
<?php if ($category['children']) { // here } ?>
尝试一下,如果你还有问题,我会在这里