如何更改 Shopify 中某些特定产品的运费?
How to change shipping rates of some particular products in Shopify?
我想在 Shopify 中更改 一个产品的运费。如果我从设置中更改它,那么它将在所有产品上实施。我想通过 coding.i 通过以下方法来完成,但它不起作用。这里有任何开发人员可以帮助我“编辑代码”吗?
{% 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 %}
我认为更改 liquid 变量对您不起作用。
第 1 步:
您需要为产品的自定义运费创建新的配置文件,然后您可以添加产品并为此产品设置费率。
第 2 步:
添加产品
第 3 步:
创建配送区域
第 4 步:
为该送货区添加费率。
我想在 Shopify 中更改 一个产品的运费。如果我从设置中更改它,那么它将在所有产品上实施。我想通过 coding.i 通过以下方法来完成,但它不起作用。这里有任何开发人员可以帮助我“编辑代码”吗?
{% 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 %}
我认为更改 liquid 变量对您不起作用。
第 1 步:
您需要为产品的自定义运费创建新的配置文件,然后您可以添加产品并为此产品设置费率。
第 2 步:
添加产品
第 3 步:
创建配送区域
第 4 步:
为该送货区添加费率。