问题标签 [bigcartel]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
html - 如何在下拉菜单中显示我的“艺术家”类别?
我目前正在为 Bigcartel 网站自定义主题“Sidecar”,并尝试添加一个下拉菜单,该菜单仅填充固定侧边栏上的 Artist 链接。
我试过只使用简单的代码来包围,但这似乎不起作用。除了下图之外,它不会下拉或显示任何内容。
任何人都可以帮忙吗?
在我添加下拉列表之前 - https://db.tt/gYoAFdW3
然后在我应用下面的代码之后 - https://db.tt/w3UFxzoA
bigcartel - 以图像为中心的大卡特尔
嗨,我正在为我的大型卡特尔网站使用 luna 主题,并使用 HTML 代码将图像放在主页上,但它显示在左侧而不是页面中心。
我一直在寻找 HTML 代码以尝试将其居中,但找不到任何代码?
另外,是否有人知道 HTML 代码也可以在主页上放置文本?
谢谢
jquery - 在我的大型卡特尔商店中集成我的产品的内部缩放
我已经从一个关于这个问题的问题中得到另一个答案我可以在我的大型卡特尔商店中集成我的产品的内部缩放吗?
我有一个带有 Luna 主题的 Bigcartel 网店。我想在我的产品图像上集成一个内部缩放。但我无法让它工作。
我已经像这样添加了 jquery.elevatezoom.js 文件:
<script src='http://pawsfabrik.dk/jquery.elevatezoom.js'></script>
在布局文件中。
我已将产品页面文件中的图像代码更改为:
<img id="zoom_01" src="{{ image | product_image_url: "fullsize" }}" data-zoom-image="{{ image | product_image_url: "fullsize" }}" class="fade_in" alt="Image of {{ product.name | escape }}">
最后,我在产品文件中添加了要激活的脚本代码:
<script>
$('#zoom_01').elevateZoom({
zoomType: "inner",
cursor: "crosshair",
zoomWindowFadeIn: 500,
zoomWindowFadeOut: 750
});
</script>
但它仍然不起作用。谁能告诉我我做错了什么?我对此感到非常沮丧:-(
谢谢,爪子
fonts - 我可以将自定义字体上传到大卡特尔吗
我在名片上使用了某种字体,为了保持一致性,我想在我的网站上使用它们。我找不到上传字体的方法,也无法在自定义菜单中找到它。帮助将不胜感激!
bigcartel - 为我的 Bigcartel 商店设置最低订单?
我整天都在谷歌搜索代码,这些代码会阻止客户在达到最低购物车总数之前结账。如果有人可以提供帮助,我将不胜感激。
bigcartel - cart.discount.enabled 在高级演示中返回“true”,在已发布页面上返回“false”。
我想知道为什么 cart.discount.enabled 返回不同的值。当我在管理页面上使用高级编辑器时,我将其视为“真”,但是当我保存并查看实际页面(进入和退出维护模式)时,我得到一个“假”响应。为什么是这样?
我现在设置了折扣并处于活动状态。知道为什么这会返回错误吗?
我希望没有像“打开折扣”复选框这样简单的东西,我已经梳理了所有设置,但没有看到一个。'
感谢大家!
html - 为什么 product.categories 没有返回我的类别?
我目前正在使用 dugway 在本地开发主题。我设置了我的 config.ru 文件以使用我商店的产品。
上面的代码当前显示了 product.name,但我得到了类别的删除结果。我希望每个类别都显示为用于 CSS 的单独类,但得到以下内容:
知道为什么会发生这种情况吗?
html - Product images, png, not transparent on some pages, Nova theme, bigcartel
i need help. 1) Products images, png, are not transparent on a products page but they are on a single product page. And they are ok on a stacked products layout but not on a grid. And we need grid layout. You can choose grid or stacked layout in the theme settings. (Nova theme) 2) Also on flexslider. This is also important to us because we want to play with various frames and we need that transparency.. I spent days researching this and found no solution, my head is full and confused. Can you help?
paypal - Paypal 不计算折扣代码后的运费(大卡特尔)
从大卡特尔结账时,它会引导我到贝宝,但是当我在贝宝摘要中的大卡特尔中添加折扣代码时,运费是根据基本价格确定的,而不是在折扣价之后。
有人能帮助我吗?
bigcartel - 将 HTML 添加到循环项目,第一个项目除外
是否可以获取for
循环项目数,然后在第一个项目之后将 HTML 添加到所有项目?
工作代码:
HTML 看起来像:
我尝试了这样的事情,但没有奏效: