Oh my gosh thank you so much!! I’ve been trying to figure this out ALL day. What you suggested worked immediately and your explanation was basically foolproof.
Topic summary
Hiding select collections from the All Collections page using a collection-level True/False metafield in Shopify’s Studio theme.
-
Requirement: Use metafield custom.hide_collection_from_storefront so collections remain visible when FALSE and are hidden from the All Collections list when TRUE, while still accessible via direct URL.
-
Solution: Edit Sections > main-list-collections.liquid. In the for loop over collections, render each collection card only if collection.metafields.custom.hide_collection_from_storefront.value == false. This limits visibility on the collections listing page without blocking direct access to the collection URL.
-
Implementation details: The change wraps the card-collection render inside an IF condition tied to the metafield value. Code snippet edits are central to the solution.
-
Outcome: The original poster confirmed the fix worked immediately.
-
Status: Resolved; no remaining questions or disagreements.