Hi all,
We’ve developed an app which allows customers to select from a list of predefined shipment locations (e.g. pickup lockers) during checkout. The selected location will be used to prefill the shipment address via query params as described in https://shopify.dev/apps/channels/cart-permalinks/cart-permalinks#step-2-modify-the-checkout-optional. This has been working perfectly well until just 2 weeks ago when apparently Shopify made some change to the checkout URL - as long as there’s a discounted product in the cart (and it seems this is regardless of which discount/upsell app is being used), the checkout URL will have a /do/ path added, and then all those query params will not take effect any more.
For example, this works perfectly - shipping address fields can be prefilled using the query params:
https://xxx.myshopify.com/checkouts/fe016b4dbb1c1c2a1eec19c3356b8941?checkout[shipping_address][address1]=[8245702]&checkout[shipping_address][address2]=LockerABC&checkout[shipping_address][city]=Tokyo&locale=en&step=contact_information
But as long as a discounted product exists in the cart, the URL would become sth like this and shipment address prefillment doesn’t work any more:
https://xxx.myshopify.com/checkouts/do/fe016b4dbb1c1c2a1eec19c3356b8941/information?checkout[shipping_address][address1]=[8245702]&checkout[shipping_address][address2]=LockerABC&checkout[shipping_address][city]=Tokyo&locale=en&step=contact_information
Does anyone encounter this as well and happen to figure out any workaround? We’re stuck here for 2 weeks already…
Thanks!