适用于shopify商店Supply的技巧(三)

shopify新闻
shopify新闻
2022-03-28
点赞icon 0
查看icon 1441

以下提示可帮助在使用 Supply 时设置定价。

定价提示

以下提示可帮助在使用 Supply 时设置定价。

禁用销售金额的四舍五入

PC:

  1. 在 Shopify 后台中,转到在线商店 > 模板。

  2. 找到要编辑的模板,然后点击操作 > 编辑代码。

  1. 在左侧的资产下,打开 timber.scss.liquid。

  2. 在文件底部,添加以下代码:

.sale-tag sup {    display: inline;    top: 0;    font-size: 100%;    &:before {     content: '.';    }  }
  1. 点击保存。

苹果系统:

  1. 在 Shopify 应用中,轻触商店。

  2. 在销售渠道部分中,轻触在线商店。

  3. 轻触 Manage themes(管理模板)。

  4. 找到要编辑的模板,然后点击操作 > 编辑代码。

  1. 在左侧的资产下,打开 timber.scss.liquid。

  2. 在文件底部,添加以下代码:

.sale-tag sup {    display: inline;    top: 0;    font-size: 100%;    &:before {     content: '.';    }  }
  1. 点击保存。

安卓系统:

  1. 在  应用中,轻触商店。

  2. 在销售渠道部分中,轻触在线商店。

  3. 轻触 Manage themes(管理模板)。

  4. 找到要编辑的模板,然后点击操作 > 编辑代码。

  1. 在左侧的资产下,打开 timber.scss.liquid。

  2. 在文件底部,添加以下代码:

.sale-tag sup {    display: inline;    top: 0;    font-size: 100%;    &:before {     content: '.';    }  }
  1. 点击保存。

购物车提示

以下提示可确保将 JavaScript 添加到 Supply 后,您商店的购物车能够正常工作。

更改购物车类型,以便高级 JavaScript 正常运作

在 Supply 中,您添加到 cart.liquid 的任何 JavaScript 都不会在抽屉式或模式购物车中执行。它只会在您将 /cart 追加到商店的 URL 时执行。例如,http://your.store.url/cart。

如果您想将以下任何功能添加到购物车页面,则需要将购物车类型设为页面式:

  • 运费计算器

  • 多种货币

  • 礼品包装

  • 购物车属性验证

  • 日期选择器

  • “我同意条款”复选框。

步骤:

PC:

中,转到在线商店 > 模板。

  • 点击 的技巧 旁边的自定义。

    1. 点击模板设置。

    2. 点击。

    3. 在 Cart type(购物车类型)下拉列表中,选择页面。

    4. 点击保存。

    苹果系统:

    .

    1. On the left side, under Assets, open timber.scss.liquid.

    2. At the bOTTOm of the file, add the following code:

       .sale-tag sup {    display: inline;    top: 0;    font-size: 100%;    &:before {     content: '.';    }  }
    3. Click Save.

    iPhone:

    1. From the Shopify app, tap Store.

    2. In the Sales channels section, tap Online Store.

    3. Tap Manage themes.

    4. Find the theme you want to edit, and then click Actions > Edit code.

    1. On the left side, under Assets, open timber.scss.liquid.

    2. At the bottom of the file, add the following code:

       .sale-tag sup {    display: inline;    top: 0;    font-size: 100%;    &:before {     content: '.';    }  }
    3. Click Save.

    Android:

    1. From the Shopify app, tap Store.

    2. In the Sales channels section, tap Online Store.

    3. Tap Manage themes.

    4. Find the theme you want to edit, and then click Actions > Edit code.

    1. On the left side, under Assets, open timber.scss.liquid.

    2. At the bottom of the file, add the following code:

       .sale-tag sup {    display: inline;    top: 0;    font-size: 100%;    &:before {     content: '.';    }  }
    3. Click Save.

    Cart tips

    The following tip ensures your store's cart works properly when you have added JavaScript to Supply.

    Change the cart type so that advanced JavaScript works

    In Supply, any JavaScript you add to cart.liquid is not executed in the drawer or modal carts. It is executed only if you append /cart to your store's URL. For example, http://your.store.url/cart.

    If you want to add any of the following features to your cart page, then you need to set your cart type to Page:

    • a shipping rates calculator

    • multiple currencies

    • gift-wrapping

    • cart attributes validation

    • a date picker

    • an "I agree with terms" checkbox.

    Steps:

    PC:

    1. From your Shopify admin, go to Online Store > Themes.

    2. Next to Supply, click Customize.

    1. Click Theme settings.

    2. Click Cart.

    3. From the Cart type drop-down list, select .

    4. Click Save.

    iPhone:

    1. From the Shopify app, tap Store.

    2. In the Sales channels section, tap Online Store.

    3. Tap Manage themes.

    4. Next to Supply, tap Customize.

    5. Tap Edit.

    1. Click Theme settings.

    2. Click Cart.

    3. From the Cart type drop-down list, select Page.

    4. Click Save.

    Android:

    1. From the Shopify app, tap Store.

    2. In the Sales channels section, tap Online Store.

    3. Tap Manage themes.

    4. Next to Supply, tap Customize.

    5. Tap Edit.

    1. Click Theme settings.

    2. Click Cart.

    3. From the Cart type drop-down list, select Page.

    4. Click Save.



    声明:本文系作者独立观点,不代表ESG跨境立场。文中涉及的平台规则、费率及出海政策具有时效性,实际运营请以平台官方最新公布为准。如有版权争议、内容勘误或业务交流,欢迎随时与我们联系。

    相关内容

    相关文章 最新文章 热门文章 标签 相关搜索 百科 专题

    相关文章 更多资讯

    最新文章

    热门文章

    标签

    相关搜索

    百科

    专题

    搜索 放大镜
    韩国平台交流群热
    加入
    韩国平台交流群
    扫码进群
    欧洲多平台交流群热
    加入
    欧洲多平台交流群
    扫码进群
    美国卖家交流群
    加入
    美国卖家交流群
    扫码进群
    ESG跨境专属福利分享群
    加入
    ESG跨境专属福利分享群
    扫码进群
    拉美电商交流群
    加入
    拉美电商交流群
    扫码进群
    亚马逊跨境增长交流群
    加入
    亚马逊跨境增长交流群
    扫码进群
    亚马逊跨境增长交流群
    加入
    亚马逊跨境增长交流群
    扫码进群
    拉美电商交流群
    加入
    拉美电商交流群
    扫码进群
    ESG独家招商-PHH GROUP卖家交流群
    加入
    ESG独家招商-PHH GROUP卖家交流群
    扫码进群
    6.25CD招商大会
    加入
    6.25CD招商大会
    扫码进群
    《2025东南亚跨境出海经营白皮书》
    《Fruugo知识百科》
    《法国Cdiscount知识百科》
    《BOL运营干货包》
    《韩国平台运营干货包》
    《TikTok美区跨境自运营模式》
    《波兰allegro知识百科》
    《Darty知识百科》
    《法国Fnac知识百科》
    《PEAKS 出海经营方法论白皮书》
    问答风向榜
    查看更多
    通过ESG入驻平台,您将解锁
    绿色通道,更高的入驻成功率
    专业1v1客户经理服务
    运营实操指导
    运营提效资源福利
    平台官方专属优惠
    联系顾问

    平台顾问

    平台顾问 平台顾问

    微信扫一扫
    马上联系在线顾问

    icon icon

    小程序

    微信小程序

    ESG跨境小程序
    手机入驻更便捷

    icon icon

    返回顶部