【问题标题】:How to change shipping rates of some particular products in Shopify?如何在 Shopify 中更改某些特定产品的运费?
【发布时间】:2020-06-19 19:23:07
【问题描述】:

我想更改 Shopify 中一种产品的运费。如果我从设置中更改它,那么它将在所有产品上实施。我想通过编码来做到这一点。我正在通过以下方法做到这一点,但它不起作用。这里有任何开发人员可以帮助我“编辑代码”吗?

{% for tag in product.tags %}
     {% if tag == "quartz" or tag == "apple" or tag == "Citizen" %}
             <div class="cart__shipping">{{ 'cart.general.shipping_at_checkout' | times:200 }}</div>
    {% endif %}
         {% unless product.tags == 'Default' %}
                 {{ 'cart.general.shipping_at_checkout' | t }}
         {% endunless %}
{% endfor %}

【问题讨论】:

    标签: shopify e-commerce liquid cart shipping


    【解决方案1】:

    我不认为改变液体变量对你有用。

    第 1 步:

    您需要为产品的自定义运费创建新配置文件,然后您可以添加产品并设置该产品的运费。

    第 2 步:

    添加产品

    第 3 步:

    创建配送区域

    第 4 步:

    将运费添加到此配送区域。

    【讨论】:

      猜你喜欢
      • 2021-04-02
      • 1970-01-01
      • 2016-11-10
      • 1970-01-01
      • 2012-10-27
      • 1970-01-01
      • 2021-10-08
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多