A user working with Shopify’s Craft theme needed to hide the “no products found” message and product grid on two collection pages that serve as informational landing pages rather than product listings. These pages contain information about product groups and include buttons linking to actual product collections.
Initial Problem:
Two collection pages with no linked products display “no products found”
Goal: Remove/hide the product grid only on empty collections while keeping it visible on collections with products
Proposed Solution:
Another user suggested using Shopify’s redirect feature to automatically send visitors to different pages when accessing these collections.
Final Resolution:
The original poster found their own solution by utilizing Shopify templates, which allows for custom page layouts for specific collections. This approach enables different display logic for empty versus populated collection pages without requiring redirects.
Summarized with AI on October 31.
AI used: claude-sonnet-4-5-20250929.
I have two collection pages that only contains information about the different product groups. In the bottom of the page, I have a button that says “products” that leads the customers to the collection pages with the products.
But, in these two collection pages with no products, it says “no products found”, of course since the collection doesnt have any products linked to it; So, what I basically want is to hide/ or remove the product grid from these two pages but keep it if there is >0 products in the collection. Im using Craft theme.
If you don’t want to delete these collection pages
You can use the redirect feature
So that when customers click on it, it will be redirected to another page
I dont want to delete these pages, but somehow remove the product grid (inside the red circle in attached image) in those collection pages that doesnt have any linked products. I someone could help me to see if some code could do this for me.