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.
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.
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.