Render all products, published and unpublished

We have an upcoming site that requires some products to be available at launch while others are scheduled to publish at a later date. We’re just wondering if there’s any way to retrieve and loop through all our products regardless of their publish status so we can have links to the published products and labels on the unpublished ones saying “coming soon” or something along those lines.

We’ve seen a couple of apps out there that try and do something similar, but it seems like they make those products “available for pre-order” and that’s not really what we want, though we may have to go down that road eventually.

Just wondering if there’s an easy solution out there or if we’re better off trying to represent those coming soon products in another way?

Thanks!

1 Like

Hi @Thinkingbox ,

Is there anyway, you can add a tag or metafield on the product? You can call all products in the same collection by using the all_products and pass in the handle. See documentation here