Bigcommerce:%% SNIPPET_SideCategoryList %% - 底层模板文件在哪里?

Pre*_*mbo 3 templates bigcommerce

在文件模板/ Panels/SideCategoryList.html中有行%%SNIPPET_SideCategoryList%%.

当我修改文件时,我认为这一行指的是(template/Snippets/SideCategoryList.html),我看到结果输出完全没有变化.

知道底层模板文件在哪里?

更新:根据这篇文章,它可能是一个无法编辑的"隐藏片段".谁能证实这一点?如果是这样,模板/ Snippets/SideCategoryList.html的目的是什么?

模板/板/ SideCategoryList.html <div class="CategoryList" id="SideCategoryList"> <h3>Categories</h3> <div class="BlockContent"> <div class="%%GLOBAL_SideCategoryListTypeClass%%"> %%SNIPPET_SideCategoryList%% </div> </div> </div>

模板/片段/ SideCategoryList.html <li class="%%GLOBAL_LastChildClass%%"> <a href="%%GLOBAL_CategoryLink%%"> %%GLOBAL_CategoryName%%</a> %%GLOBAL_SubCategoryList%% </li>

从上面的模板代码中可以看出,Panels和Snippets之间的SideCategoryList.html没有<ul>.对模板/代码段/ SideCategoryList.html进行更改没有任何区别.这似乎指向%%SNIPPET_SideCategoryList%%从其他地方提取代码.

Cla*_*Pan 7

根据ul上出现的超级鱼类来判断,听起来您正在使用"弹出菜单"作为"类别菜单样式"(此选项可在"设置和工具">"商店设置">"显示"中找到).

使用"弹出"菜单时,引用的代码段不是"Snippets/SideCategoryList.html".相反,请尝试使用"Snippets/FlyoutTree.html"和"Snippets/FlyoutNode.html"模板.