javascript - which woocommerce method can i use in ajax to validate my cart? -


i customizing woocommerce store. create custom modal , want validate cart modal ajax click on new button (custom button). use admin_url('admin-ajax.php'). , have in javascript script:

var formdata = new formdata($("#last-step")[0]);  formdata.append('action', 'checkout'); 

so need correct woocommerce method use in ajax trigger cart validation action (from cart checkout).

or have idea can do?


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -