Is it possible to show local pickup for products only in stock?

Topic summary

Request to conditionally display a manual payment option. The store owner added a manual payment method (“local pickup – pay at pickup”) alongside credit card and PayPal and wants it to appear only for orders containing exclusively in‑stock items.

Context: Shopify Advanced plan, Enterprise theme. The goal is to restrict visibility of this manual (offline) payment method based on cart inventory status, so customers can choose “pay at pickup” only when all items are available now (no out‑of‑stock/backordered items).

Current status: No implementation details or solutions provided yet; guidance is requested on how to achieve this conditional payment option display.

Notes: A screenshot of payment settings is included, but the core issue is determining how to show/hide the manual payment method based on inventory. Discussion remains open without a resolution.

Summarized with AI on December 14. AI used: gpt-5.

I have a shopify store and the theme I use is the enterprise theme. I also added one manual payment method called ‘local pickup - pay at pickup’ in addition to the default payment options such as credit card and Paypal payment options. if I want to show the manual payment option, ‘local pickup - pay at pickup’ to only orders containing only in stock items, how can i implement that? I’m using the shopify advanced plan.