By default, Shopify lists all active collections on the catalog list page (e.g., /collections). BoltTheme supports hiding specific collections from this list using a custom Shopify Metafield: custom.hide_from_list.
️How to Configure
Follow these steps to define the metafield in your Shopify Admin and apply it to a collection:
Step 1: Create the Metafield Definition
First, you must define the metafield structure in your Shopify Admin settings so it is available on your collection edit pages.
- In your Shopify Admin, click on Settings in the bottom-left corner.
- In the settings menu, click on Custom data.
- Under Metafields, click on Collections.
- Click the Add definition button in the top-right corner.
- Configure the definition fields:
– Name: hide_from_list
– Namespace and key: custom.hide_from_list (This must match exactly)
– Type: Click Select type and choose True or false (Boolean).
- Click Save in the top-right corner.
Step 2: Hide a Collection from the List
Once defined, you can apply this flag to any individual collection you want to hide.
- Go to Products > Collections in your Shopify Admin.
- Click on the collection you wish to hide (e.g., Earphones).
- Scroll down to the very bottom to locate the Metafields section card.
- Click on the hide_from_list field.
- In the popover options, select True.
- Click Save on the collection edit page.
Important Best Practices
Not a Private Link:
Hiding a collection from the list page does not disable its public URL. Anyone with the direct URL (e.g., /collections/earphones) can still access the collection page. If you want to make a collection completely private or hidden from search engines, adjust the Search engine listing settings at the bottom of the collection page or configure a redirect.