Tag function

Topic summary

A user seeks to restrict product visibility to specific countries using tags in Shopify.

Problem: No native Shopify feature directly links product tags to country-based visibility.

Proposed Solutions:

  1. Shopify Markets – Tag products (e.g., “visible-US”), then configure regional availability in Settings > Markets to control which products appear per country.

  2. Geo-blocking Apps – Use apps like Locksmith or EasyLockdown to restrict product access based on visitor location and tags.

  3. Custom Liquid Code – Modify theme files to detect visitor location and conditionally display/hide products (requires coding knowledge).

  4. GraphQL API – Manage tags programmatically through Shopify’s GraphQL API if building a custom web app solution.

Recommendation: Shopify Markets is suggested as the easiest no-code approach for this use case.

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

Hi.
Can you please advise me how to add a function to a specific tag?
I want to add a tag to several products, so that the products show up to specific countries.
Looking on the internet, videos nothing like this has been found.

Hi @LileisUA

Shopify does not have native support for product visibility limitation by country through tags, but you can accomplish this using a mix of product tags and Shopify Markets (or an app). Here’s how:

  1. Add the Tag – In Products > Bulk Edit, give a tag (e.g., visible-US) to the products that you want to show in specific countries.
  2. Use Shopify Markets – If you’re using Shopify Markets, go to Settings > Markets and set product availability for each region. This ensures only the right products are visible in specific countries.
  3. Use a Geo-Blocking Application – Apps like Locksmith or EasyLockdown let you block merchandise by guest area. You are able to utilize these with the application based upon your labels.
  4. Custom Liquid Code – If you are comfortable with coding, you can modify your theme to appear at a visitor’s location and show/hide products.

If you require a no-code solution, Shopify Markets is the easiest way to do it! Hope this helps :slightly_smiling_face:

1 Like

Hi @LileisUA

If you are looking to manage Tags for different products, something like append tags to existing tags, remove some tags from existing tags, its possible through Shopify GraphQL APIs. Are you looking for managing tags through a web app using Shopify GraphQL APIs?

Thanks,

Jay