Skip to main content

Restricting Products

There are several methods for restricting products in Shopify and blocking them from checkout.
  • Restrict Shopify Markets (Shopify Markets Method) - Un-publish the product for international markets in the Shopify Product Editor.
  • Use Product Tags (Global-e Tagging Method) - Restrict the product from being sold in all Global-e operated countries using Shopify product tags.
  • Use Global-e Merchant Portal (Merchant Portal Method) - Restrict the product for selected Global-e operated countries inside the Global-e Merchant Portal.

Which Method Should be Used?

Select the method according to relevant condition:

Restricting Shopify Markets (Shopify Markets Method)

In Shopify, use the Publishing Products with Markets feature to specify in which markets to sell products. Markets that are not selected will be blocked for the product. This step can be performed using the product editor, bulk editor, or via CSV import.
The product will not appear on Liquid storefronts and will be blocked at checkout if the country is switched. The product restriction is indicated in the Checkout page and the item will be removed when clicking the Continue button. Limitations Using the Shopify method will result in the product pages for blocked countries returning a 404 - Not found error. This can create the following issues.
  • The product might not be browsable from unpublished countries.
  • This may cause issues with SEO. Google crawler will receive 404 error on the product link, so that the product will not be indexed for search. Therefore, use this method with caution outside of the United States. Even merchants within the United States may have issues if the Google crawler originates outside the United States.
Considering these issues, using product tags might be the preferred approach.

Using Product Tags (Global-e Tagging Method)

Restrict a product tag for all countries This process applies to all Global-e operated markets.
  1. Tag restricted products with the isBlockedForGlobale product tag.
  2. The product appears on the merchant site but will be prevented from being added to cart and will be blocked at checkout.
  3. Restriction removal is done through the Global-e Merchant Portal.

Limitations

  • If a product restriction tag is added to a new product, the product must be added to the cart and reach checkout before the restriction is applied on the Global-e side. To work around this, the merchant can send a CSV file of the restricted products to Global-e for a manual update, or simulate a checkout as soon as applying the tag.
  • If a merchant has restrictions applied in the Merchant Portal only for a few variants of a product, Global-e scripts will restrict all variants on the Product Details Page (PDP).

Merchant Portal Method

You can configure restrictions by variant using the Global-e Merchant Portal.

Headless Merchants

For headless implementations, both Global-e and Shopify restriction methods will only prevent checkout. It is up to the merchant whether to display the restricted products on their storefront. The merchant can query the product using the Shopify Admin GraphQL API (see Shopify API) to determine if the product is published or unpublished for the market in Shopify. Example query:
The merchant can also query whether a product is restricted by Global-e using the ProductCountryS API. Please reach out to your Customer Success Manager to discuss your options.