Shopify结帐参数

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

我正在与一个想要在购物车页面上填写订单运送地址的客户一起工作。我发现您可以像https://help.shopify.com/en/themes/customization/cart/use-permalinks-to-preload-cart这样操作,因此我在购物车表单中添加了一些带有名称属性的输入字段(例如,name =“ checkout [shipping_address] [address1]”)。一切对我来说都很好,但对我的客户而言却不行。他会自动填写该信息,但该信息来自他在其他网站上做出的其他Shopify订单的记忆。

帮助表示感谢

shopify shopping-cart shopify-template
1个回答
0
投票

这是HTML的简单问题。您要做的就是像这样将自动完成输入参数设置为关闭:

<input type="text" name="checkout[shipping_address][address1]" autocomplete="off" id="customerAddress1">

文档:https://www.w3schools.com/tags/att_input_autocomplete.asp

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