• Hi,

    I’m setting up a delivery network with multisite and woocommerce.

    I found a tutorial on using contact form 7 to redirect the user based on their zip code input.

    Code used in additional settings:

    on_sent_ok: “var number = $(‘.wpcf7 input[name=number]’).val();location.replace(‘http://example.com/’+number+”);”

    That is working great, but I’m wondering if it is possible to write the zip code information into the cookie woocommerce uses to store zip code information. By doing this, the “zip code” field at the check out page will already be filled out.

    Thanks in advance 🙂

    https://wordpress.org/plugins/contact-form-7/

The topic ‘Redirect and write user input to woocommerce cookie’ is closed to new replies.