我们已经在Shopify中的add to cart表单中添加了一些自定义字段,并正在尝试添加一些验证。我们已经编写了自定义验证函数,并尝试使用以下代码绑定它,这些代码放在theme.liquid的body标记中: $('#AddToCartForm').submit记录$('#AddToCartForm')表明选择器工作正常。我们还尝试将其移动到产品液体页面,使其恰好位于form cl
在我的网站中,我在html页面上有以下结构: <head><!-- All the usual information here, including the link to the css file --></head> <div id="splash"> </div><!--End of Splash-