On the block-based checkout (WooCommerce 8.3+), local pickup already skips the shipping address, so you need no code. On the classic checkout, hide the fields conditionally with the woocommerce_cart_needs_shipping_address filter: check the chosen shipping method, and return false when it is local pickup. Do not use “Force shipping to billing address,” since that hides the […]