短信中不包含Shopify购物车属性

短信中不包含Shopify购物车属性,shopify,cart,Shopify,Cart,早上好, 通过在cart.liquid模板中添加以下代码,我在Shopify商店的购物车页面中添加了一个购物车属性: <input required class="required" id="picking-code" type="text" name="attributes[Picking code]" value="{{pickingCode}}" onkeypress="re

早上好, 通过在cart.liquid模板中添加以下代码,我在Shopify商店的购物车页面中添加了一个购物车属性:

<input required class="required" id="picking-code" type="text" name="attributes[Picking code]" value="{{pickingCode}}" onkeypress="return isNumberKey(event)" maxlength="5" size="20">
{% for attribute in attributes %}
     {{ attribute | first }}: {{ attribute | last }}<br>
{% endfor %}

我遵循了我在这里找到的说明:

如果我在电子邮件模板中包含以下代码,它工作正常,我可以在订单确认电子邮件中看到购物车属性:

<input required class="required" id="picking-code" type="text" name="attributes[Picking code]" value="{{pickingCode}}" onkeypress="return isNumberKey(event)" maxlength="5" size="20">
{% for attribute in attributes %}
     {{ attribute | first }}: {{ attribute | last }}<br>
{% endfor %}
{%for attributes%}
{{attribute | first}}:{{attribute | last}}
{%endfor%}
但是如果我在短信模板中添加相同的代码,我就看不到发送确认订单的短信中的属性。这就像短信模板中不能包含购物车属性一样。 有什么解决问题的建议吗?多谢各位