#vikingviolinist
1 messages · Page 1 of 1 (latest)
Hi there
You are correct that you can't pre-fill shipping address. Nor can you display it as text as we don't support custom text yet (we hope to soon!)
That said, you can pre-fill the billing address if you pass a Customer object to the Session
For Shipping, there should be a button that indicates whether the Shipping Address is the same as the Billing Address
So this would pre-fill it in a way
Ok, thank you. I'm passing the customer object to the checkout session, but need to adjust shipping rate before I redirect him to the checkout based on the zip code.
Can I disable shipping address collection and make the billing address readonly?
No it isn't possible to make billing address read-only.
Fair enough, thanks a lot