Why is local delivery still available when product is out of stock and "Continue selling when out of

Topic summary

A user is experiencing an issue where local delivery remains available at checkout even when:

  • A product is out of stock at the nearest location
  • The “Continue selling when out of stock” setting is enabled

Desired behavior:

  • Allow online purchases with shipping for out-of-stock items
  • Hide local delivery option when no inventory exists at the local location

Technical challenge:

  • Cannot find an assigned location field in the delivery customization RunInput query to implement location-specific inventory checks

Current status: The issue remains unresolved, with the user seeking guidance on how to dynamically hide local delivery based on location-specific inventory levels while keeping the “continue selling” feature active for shipped orders.

Summarized with AI on October 28. AI used: claude-sonnet-4-5-20250929.

I’m running into an issue where local delivery still shows as an option at checkout, even when a product is out of stock at the closest location and the “Continue selling when out of stock” setting is enabled.

Here’s what I’m trying to achieve:

  • Allow customers to purchase out-of-stock products online if they choose shipping.

  • Prevent local delivery from being shown if there’s no inventory at the local location.

Is there a way to hide local delivery dynamically based on location-specific inventory, even when “continue selling” is enabled?
I cannot find assigned location field in delivery customization RunInput query

Any help or recommendations would be appreciated!

I would appreciate it if you refrain from posting AI-generated content unless you have a genuine solution to the issue. Thank you for your understanding.