Published:2023.11.11

Example of setting up a product page that can only be viewed by people who know the URL on Shopify

Example of setting up a product page that can only be viewed by people who know the URL on Shopify

Applications

  • Product information management and editing
View full details

There are times when you want to make a specific product viewable only by people who know the URL for a particular product in Shopify. This is an example of the settings for the theme "Dawn", but you will need to make various adjustments to block the flow of traffic. Therefore, we usually recommend installing the app "Locksmith" which handles all of this in one place.


Example of setting up a product page that can only be viewed by people who know the URL


[Setting Step 1] Add the "Not listed" tag (the tag name can be set as desired) to the target product and edit the code in the Collection/Featured Collection section.


[Settings Step 2] Turn off the search suggestions function and edit the code for "Search (main-search.liquid)" and "Search filter (facets.liquid)"


[Settings Step 3] Edit the code for "Product (main-product.liquid)" and "Related Products (related-products.liquid)" and add code to theme.liquid to add noindex for specific products.


Related Post