Skip to content

Shopify 免插件添加亚马逊购买按钮

{% unless product.metafields.my_fields.amazon_link == blank %}
<a href="{{product.metafields.my_fields.amazon_link}}" target="_blank" style="text-decoration: none;">
<button type="button" class="button" style="width: 100%; margin-top: 10px; background-color: #000;"><span>Buy on Amazon</span></button></a>
{% endunless %}
上一篇文稿 Bilibili 铁粉勋章领取直达链接
下一篇文稿 将 Shopify 快速结账按钮放到产品页面