Display Store Products Based on User Postal Code

Topic summary

A merchant seeks to display products based on visitors’ postal codes, ideally through a welcome popup where users enter their location. The desired workflow includes letting users input/change their postal code and managing product availability via tags or CMS.

Community responses suggest:

  • No native Shopify solution exists for this exact functionality
  • Alternative approach: Display postal code availability checkers on product pages instead of hiding products entirely, which maintains product visibility for sharing/discovery
  • Custom development option: Save postal codes in cookies and match against product metafields to filter displayed items
  • Partial workarounds without custom coding:
    • Tag products with postal codes for search functionality
    • Use metafields with Shopify’s Search & Discovery app for collection filtering
    • Implement geo-IP content gating apps like Locksmith
    • Customize theme to relabel search as postal code-based

Status: The original poster is exploring the availability checker approach rather than hiding products. Custom development or paid theme customization may be needed for the full desired experience.

Summarized with AI on November 1. AI used: claude-sonnet-4-5-20250929.

Hello everyone! I was wondering if there is a way (app or otherwise) to only display certain products of my store based on the user’s inserted postal code from a Welcome Popup?

It would be great if it would work something like this:

  1. User enters their postal code when visiting my store (they can also change their postal code if they want).

  2. Products are displayed based on their postal code

  3. The availability of products can be managed by adding tags or by CMS.

Appreciate your thoughts and feedback!

Hi, I dont think this is a native Shopify functionality. Also, not really sure which App can help you achieve this exact solution.

What i see brands often do is show a postal code box on the product page itself to check for availability. Would that solution be useful for you? I am sure there are many apps which can help you power this. It also showcases your wide range of products to users (who might not directly buy it) but maybe they might share it with someone else who’s interested in buying.

hello @donjondodi
it is possible via custom solution like once customer enter the postal code it will save on cookies and we need to add postal code or list of codes to product metafield also so when visit store by customer it will match the postal code saved in cookies is available on product’s metafield or no and show the product or list of products.

Hi Vipul, thanks for your insight and you are right, we should also consider if hiding the products will not hurt us in the end. I will explore the availability option further as you suggested.

Hi @donjondodi without an app or advanced theme customizations the minimum is:

Then for a better experience customize the theme such as making a secondary search relabeling everything as being postcode based.

Or showing postcodes as a selection that then generates a link to the specific collection filtering.

etc etc etc

If you need paid consultation or advanced theme customizations for your customers then contact me for services.
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.