Checkout Extension: How to change the default selected location in the pick up locations list UI?

I need to migrate checkout.liquid using the Checkout Extension.

Here is what I am trying to do.

There are 10 pick up locations shown in the checkout and the first location is selected by default.

I want to change this dynamically based on any condition. I read the Shopify doc all day long and not sure if it’s possible. Please advise. Thank you!

Hi Josh,

I connected with the product team on this and unfortunately right now checkout UI extensions can only read pickup locations, not store locations. I’ve raised this as a feature request however.

Thank you for your reply.

Is it possible to hide the Shipping option in the delivery method list?
Currently, it shows two options: “Ship” and “Pick up”. I want to show only Pickup when there are Store Pick up only products in the cart.

The product team’s answer was right about the tool and incomplete about the goal. UI extensions can only read the pickup list, correct. Delivery customization functions can reorder it, and the first option is what checkout selects by default, which is the outcome you were actually chasing. Function problem, not extension problem.

My team built Switchboard

Its pickup rule pins locations to the top in your order, or sorts by proximity to a logged-in customer’s saved address. Ten locations stop defaulting alphabetically, no code on your side. Your follow-up about hiding Ship on pickup-only carts is genuinely still locked though, that toggle sits beyond functions too.