如何更改Shopify中某些特定产品的运费?

如何更改Shopify中某些特定产品的运费?,shopify,e-commerce,liquid,cart,shipping,Shopify,E Commerce,Liquid,Cart,Shipping,我想更改Shopify中一款产品的运费。如果我从设置更改它,那么它将在所有产品上实现。我想通过编码来实现它。我通过下面的方法来实现它,但它不起作用。有没有开发人员在这里帮助我编辑代码 {% for tag in product.tags %} {% if tag == "quartz" or tag == "apple" or tag == "Citizen" %} <div class="cart__shipping">{{ 'cart.gene

我想更改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 %}
{%for product.tags%}
{%如果标签==“石英”或标签==“苹果”或标签==“公民”%}
{{'cart.general.shipping_at_checkout'{时间:200}
{%endif%}
{%除非product.tags=='默认值'%}
{{'cart.general.shipping{u checkout'{t}
{%end除非%}
{%endfor%}

我认为改变液体变量不适合你

步骤1:

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

步骤2:

添加产品

步骤3:

创建航运区

步骤4:

将费率添加到此配送区域