Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support EastOfWest a11n

    (@eastofwest)

    Hi there,

    I tested that code, and it works on a default WooCommerce install. I added the code as-is from that link to the function.php file of a Storefront child-theme.

    First, I tried the URL below as a logged-in customer that already had their profile filled in, and in that case it did not work.

    However, when tried as a logged-out user, I added a product to the cart and then followed the URL to the Checkout page, where it pre-filled the fields specified in the code:

    https://woo.tst/checkout/?fname=John&lname=Wick&[email protected]

    Screenshot of the code working

    Assuming your checkout page is using the default URL, make sure you’re logged out, and use the URL above but replace woo.tst with your site’s domain name.

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pre-fill Check out Fields from URL’ is closed to new replies.