After the first product is being added to cart on Woocommerce I'm redriecting the user to a custom page with a form on it where I ask for email and cellphone.
FORM ID ---> #smform-28543
email ID ---> #smform-field285431
cellphone ID ---> #smform-field285432
The reason why I do this is because if they leave the site at least I have their data.
What I want to do is to save those 2 fields data on a cookie after they submit and then if they hit the /checkout page I want to prepopulate automatically the email and cellphone fields that is once again being asked there for billing.
An /checkout the form name is "checkout" and:
email ---> #billing_email
cellphone ---> #billing_phone
Any sample code to help me accomplish this :(