Use the following steps to quickly set this up:

  1. Open Locksmith app and search for a product by name. 
  2. On the next page, under Keys, select the "(custom Liquid)" condition
  3. Paste in template == "product" into the "Liquid condition" box
  4. Make sure the "hide this product from search results and other lists" option is checked!

You're done :)

Note: This technique can be used with other types of resources such as Pages, Collections, Articles, Blogs, etc. You'd just substitute the correct template name in your Liquid condition.

If this technique isn't working, it's possible that your theme uses a non-standard template name (other than "product"). To fix this, just update "product" in the lock to whatever your theme uses.

For questions, get ahold of us using the message icon to the right! 

Did this answer your question?