我将其添加到我的 product.custom.liquid(部分)

问题描述 投票:0回答:1

{% comment %} 文件上传 {% endcomment %} 徽标

        {% comment %} input {% endcomment %}
        <div>
          <label for="custom_business_name">Nom de votre établissement sur Google</label>
          <input required type="text" id="custom_business_name" name="properties[Nom du business]" data-type="add-to-cart-form" />
        </div>

但是当我添加订单项时,订单项没有显示在购物车中

html configuration shopify e-commerce
1个回答
0
投票

确保您的代码位于

<form> and </form>
标签[产品形式]之间。

有关更多信息,您可以查看此参考资料

https://ui-elements-generator.myshopify.com/pages/line-item-property

© www.soinside.com 2019 - 2024. All rights reserved.