wordpress - Validate and save address using AJAX in WooCommerce -


using wordpress 4.6.1 , woocommerce 2.6.4

i need create multi-step checkout woocommerce, customer first fill address, click on "next" validate , save address.

before that, customer proceed next steps checkout.

i did fine changes, customizing woocommerce templates, struggle "next" button action. how can create functionality of validate , save address form using ajax? want pretty "edit-address" endpoint functionality, using ajax.

i check class-wc-ajax.php see how can save address form using ajax, there nothing me. close got process_checkout() function on class-wc-ajax.php, "final" checkout , need put more steps on checkout process.

i don't want rewrite login of validating , saving this, since wc it. there @ least function of wc me validate , save easily?

how can need? tips/help?

thank guys!


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -