Checkout modification for a non-shopify-plus store. Is that even possible?

Topic summary

Goal: Collect a customer’s zip code before items can be added to the cart due to delivery constraints, then enforce that same zip as the shipping address during checkout with no ability to change it.

Key question: Can this be achieved on a non‑Shopify‑Plus plan, and what options exist?

Proposed approach (after initial research):

  • Build a public app using Shopify Functions API to validate cart and checkout conditions.
  • Add a theme extension with a buy‑button block that checks for a cart attribute (zip); if absent, prompt the customer to provide it before proceeding.

Constraints noted: The requirement includes locking the delivery address to the pre‑collected zip throughout checkout.

Status: No confirmed solution or community feedback yet. The author is exploring the above approach and seeking better ideas; discussion remains open.

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

Hi,

due to delivery constraints, I need to get the zip code of a customer before he can add items to a cart. I think this can be done with theme modification and maybe a custom app.

I would need an additional modification in the checkout. This zip code needs to be set as delivery address. It should not be possible to change this during checkout. My question is if there is an option to achieve this with a non-shopify-plus plan. And if so, which options do I have?

Thanks for hints in advance!

After a day of research, my best idea is to build a public app and using Shopify Functions API to validate cart and checkout and a theme extension with a buy-button block, that checks the cart for an existing attribute (zip) and if not aquire that from the customer.

If anyone got a better idea I’d be happy to read :wink: