更新时间:2023-11-04 18:21:16
只是让这个问题对以后在这里阅读的任何人有用..这是最终为我工作的脚本.我从此有用的指南中找到了答案.
Just to make this question somewhat useful for anyone who reads here in the future.. here is the script that ended up working for me. I found the answer here from this helpful guide.
jQuery('div.woocommerce').on('click', 'input.qty', function(){
jQuery("[name='update_cart']").trigger("click");
});