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!