- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
在文件 template/Panels/SideCategoryList.html 中,有行 %%SNIPPET_SideCategoryList%%
.
当我修改文件时,我认为这一行引用的是 (template/Snippets/SideCategoryList.html),我发现结果输出没有任何变化。
知道底层模板文件在哪里吗?
更新:根据this post它可能是无法编辑的“隐藏片段”。谁能证实这一点吗?如果是这样,template/Snippets/SideCategoryList.html 的目的是什么?
template/Panels/SideCategoryList.html
<div class="CategoryList" id="SideCategoryList">
<h3>Categories</h3>
<div class="BlockContent">
<div class="%%GLOBAL_SideCategoryListTypeClass%%">
%%SNIPPET_SideCategoryList%%
</div>
</div>
</div>
template/Snippets/SideCategoryList.html
<li class="%%GLOBAL_LastChildClass%%">
<a href="%%GLOBAL_CategoryLink%%"> %%GLOBAL_CategoryName%%</a>
%%GLOBAL_SubCategoryList%%
</li>
正如您从上面的模板代码中看到的,在面板和代码段之间 SideCategoryList.html 没有 <ul>
。对 template/Snippets/SideCategoryList.html 进行更改没有任何区别。这似乎指向%%SNIPPET_SideCategoryList%%
从其他地方拉入代码。
最佳答案
从 ul 上出现的 superfish 类来看,听起来您正在使用“弹出菜单”作为“类别菜单样式”(此选项可以在“设置和工具”>“商店设置”>“显示”中找到)。
使用弹出菜单时,引用的代码段不是“Snippets/SideCategoryList.html”。相反,请尝试使用“Snippets/FlyoutTree.html”和“Snippets/FlyoutNode.html”模板。
关于templates - Bigcommerce:%%SNIPPET_SideCategoryList%% - 底层模板文件在哪里?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22952205/
我们正在努力更新 Bigcommerce 应用程序(之前已提交,目前已上线)。碰巧我们需要修改所需的范围(我们现在需要访问产品)。 一旦更改,我们的应用程序会进入待处理模式并需要重新提交吗?会有停机时
我在为带有文本选项的产品创建 bigcommerce 订单时遇到问题,api 给出了以下错误: [ { "status": 400, "message": "The options
我正在尝试下载(备份)客户为带有自定义 Logo (这些通常是 JPG、PNG、PDF 等)的产品上传的图像。这些客户文件可通过单击 BigCommerce 管理页面中的订单的超链接来下载问题。该链接
在提交批准之前,有什么方法可以测试您的应用程序或插件吗? 或者是否有任何 BigCommerce 沙箱可以事先测试应用程序? 目前在 BigCommerce 商店中的应用程序的开发人员如何能够在开发阶
它是如何产生的?我如何验证它? https://developer.bigcommerce.com/api/webhooks-getting-started { "store_id": 11111
致力于新的大型商业模板框架并尝试引入替代尺寸的图像,如 https://stencil.bigcommerce.com/docs/global-resources#Stencil-ImageObj-r
我想使用 REST API 从 Bigcommerce 网站获取废弃购物车的详细信息。 谁能建议我们如何实现这一目标。我可以使用他们的 REST API 获取订单和客户。 谢谢 最佳答案 目前没有用于
您好,我正在与 bigcommerce 合作,我希望在每个类别页面上获得以下风格的分割 本质上是制作类别版本; %%Panel.HomeFeaturedProducts%% %%Panel.SideT
当一件元素通过 FedEx 运送时,我希望最终客户看到 FedEx 跟踪号码。我如何指明承运人?我是否将“FedEx”放在shipping_method 字段中? 最佳答案 只能在初始 POST 期间
Stencil 提供对模板文件中产品自定义字段的访问,如 Product Other Details 中所述 {{product.custom_fields}} {{#each custom_fiel
我在 BigCommerce 中有客户表单字段,这些字段是在客户创建帐户时填写的。 我正在尝试使用 API 提取客户。我可以使用网站上的导出功能提取表单字段,但我似乎找不到如何使用 API 提取表单字
我想启用 Google Trusted Stores 代码而无需订阅白金级别(我使用的是黄金级别计划)。我已经通过 ShipWorks 成功地设置了自动化的每日发货和取消提要。我相信我在 footer
如何从 bigcommerce API(Ground、Express)获取订单“运输方式”? 客户下单时选择的送货方式。 谢谢 最佳答案 请参阅此 page , 获取特定订单的运输相关数据。 关于bi
我们正在使用 BigCommerce 作为我们的引擎和他们的 API 为宠物开发电子商务应用程序。我们通过在管理面板中创建一个页面来创建我们的隐私和安全政策内容。 现在我们想使用 BigCommerc
我上传了一个新模板,我们称它为 my-template,使用模板工具。模板文件位于文件夹 pages/custom/page/my-template 中。我可以在管理页面的模板下拉部分中选择模板,所以
有没有办法增加模板主题中最近查看项目的最大数量?目前最多显示 5 个项目,我希望最多显示 16 个项目。我检查了上下文,它显示了最近查看的项目的数组,它只是删除旧的并插入新的。 最佳答案 recent
如何使用 BigCommerce web API 将包含未跟踪产品的订单更新为已发货? 我的订单产品是 not being tracked as part of the inventory on Bi
以前使用 bigcommerce 时,我们可以选择是否在用户单击“添加到购物车”按钮时弹出窗口或将用户带到购物车。有人知道此功能是否已被 BigCommerce 取消或我现在在哪里可以找到该设置?谢谢
我正在为 BigCommerce 开发一个应用程序,我必须在其中注入(inject) Script进入订单确认页面。 在脚本中,我想读取 current order detail , 所以我试试这个
以前使用 bigcommerce 时,我们可以选择是否在用户单击“添加到购物车”按钮时弹出窗口或将用户带到购物车。有人知道此功能是否已被 BigCommerce 取消或我现在在哪里可以找到该设置?谢谢
我是一名优秀的程序员,十分优秀!