This is an example of how to set up a blog post on Shopify that can only be viewed by members. Also, because different content will be displayed to Google bots and users, we'll add a noindex process to avoid penalties. (Shopify cannot return a 401 status code for individual content.)
Example of setting up blog posts for the Shopify theme "Rise/Dawn" to allow members only to view content.

[Setting Method 1] Add a metafield definition for blog posts and set the metafield value for posts you want to make members-only.

[(For the Rise/Dawn theme) Setup method ②] Add code and CSS to sections/main-blog.liquid and sections/main-article.liquid

[(For the Rise/Dawn theme) Setting method 3] Add a noindex to the target article in theme.liquid (to avoid Google penalties)

