Shopify Quick Fixes - Hide Page/Template From Search

Since Shopify generates sitemaps automatically there's no way for you to manually remove links in your sitemap that search engines will index, so here's a workaround for telling search engines not to index a certain page/template/etc. This is helpful if you're testing something in your shop or you're using ajax and you don't want certain pages to be directly accessible.

You can use this meta tag (in the head) with an if conditional to check for a template or page you want to exclude from search engines, 'noindex' means to exclude the current page and 'follow' means to allow the search engine to index the other pages on your site.