本帖最后由 Lin 于 2022-3-4 18:04 编辑
1、找到产品详情页的 form 表单 一般在 product-template.liquid 文件 Dawn模板是在main-product.liquid 文件,不同的模板位置会不一样 2、在form 中 添加 properties 输入框 输入内容, input 的 name 为 "properties[<自定义名称>]"
如果需要多行文本输入 使用 textarea 标签即可
- <div>
- <span class="note">备注</span>
- <input required id="note" style="width:200px;" type="text" name="properties[备注]">
- </div>
复制代码
|