Apply Pre-selected Delivery Address to Checkout page

We are using a Shopify Theme and Shopify Plus and can use Shopify Storefront API.

We want customers to be able to select a shipping address on a separate page from Checkout so that the customer can select from a list of saved addresses or select a new address by searching on a map.

Then, when the customer goes back to Checkout:

(1) How can we update the Shipping Fees in the Cart Totals to reflect the pre-selected shipping address

(2) How can we apply that shipping address to the Checkout object, so that the pre-selected shipping address is used for the order?

(3) How can we either:

(a) hide the Delivery Method and Shipping Address forms on the Checkout Information page, or

(b) pre-select the Delivery Method as “Ship” and pre-fill the Shipping Address form with the pre-selected address?

1 Like