How to Prefill customer address or email on the checkout page

I can make it work using checkout permalinks as detailed here:
https://community.shopify.com/topic/613702

But it doesn’t seem possible to do the same by putting in a form input on my cart page such as:


Other inputs for order attributes pass through to the order just fine:


or


I’ve also tried to do it via the the post URL of my form but this doesn’t work either:


I'd prefer not to go via the API (or build up a permalink URL based on what the user inputs into my attribute fields on my cart page), I want to achieve this using pure HTML/javascript. But from what I can see, it isn't possible. Any ideas?

Hey,

I am not sure if that’s what you are looking for. This will probably work for Shopify Plus ONLY.

If you have layout/checkout.liquid you can execute js on a checkout page.

I just save checkout form data as cookie and then fill form fields with that.

Unfortunately we’re on Advanced Shopify, not on Shopify Plus, otherwise this would be a good solution.

here they say in order to that you’ll need to use API

https://stackoverflow.com/questions/61508555/shopify-prepopulate-billing-address-based-on-query-param#:~:text=To%20create%20a%20prepopulated%20checkout%20on%20Shopify%2C%20you%20will%20need%20to%20supply%20the%20checkout%20through%20either%20the%20Admin%20API%20or%20the%20Storefront%20API

Hi,
Were you able to find a solution?
Thanks

I was. But we are on Shopify Plus

No simple solution was found for Advanced Shopify. I didn’t try via the API (I needed to do it using some sort of HTTP POST or deep link, but nothing seemed to work).