Does anyone know how to hide a collection? I want to make my collection invisible in the Collection list but accessible through direct link.
Thank you!
Does anyone know how to hide a collection? I want to make my collection invisible in the Collection list but accessible through direct link.
Thank you!
Hello FBO_uNIFORMS,
Please share your site url.
So that i can check and let you know exact solution here.
Dear FBO_uNIFORMS,
In Shopify admin panel go to Collections and open a collection youâre going to set a publish date for. Scroll down and search for Visibility. To hide a collection, choose Hidden button.
Hi, @FBO_uNIFORMS !
My name is Lilith, Iâm on the Social Care team at Shopify.
This is a question that doesnât come up too often, but Iâm glad you asked this.
From my understanding of your question, you want to hide a specific collection from the /collections
page where the list of all collections is shown.
If this is the case, there is a way to do this through your theme code. Depending on how your theme is built, you can certainly modify what shows up on that page.
Here is our general coding tutorial on how to customize the order of collections in that /collections
page, but you can use this as a starting point to customize the collections that you want showing there as well.
That full tutorial also walks through how to modify the products that appear on the collections/all
page as well.
If youâre not too comfortable with coding it yourself, I highly recommend hiring one of our partners to help you with this. You can find a suitable Shopify Partner in the Experts Marketplace or request a quote by following this guide here.
Let me know how you do with the information above! Iâm happy to answer any questions you think of as you work on your business.
Hi, I am also trying to hide products or collections from the public store view. I donât see any section or toggle anywhere for âVisibility,â neither with products nor collections.
Is this feature no longer available?
To hide a product:
If you want to hide the product from the whole store, you can just set the product to âDraftâ mode.
If you want the products to show up in hidden Collections, but not in the âAll Productsâ list, then there are two options.
Option 1:
Create a tag for all public products, it can be anything that you would never use for anything else.
Add this tag to all products that you want to be visible.
Modify the Products collection to require this tag.
Make sure any products that you want to hide do not have this tag
Option 2:
You can also modify the Products collection to exclude products based on titles, and other details.
To hide a collection from the Collections List:
Edit the âlist-collections-template.liquidâ file.
Find the line â{% for collection in list_collections %}â
Modify the for loop to have an if statement as follows
Change âNAMEOFCOLLECTIONâ to be the actual name of the collection you want to hide. Leave the â around the name.
Save the file and test the page.
{% for collection in list_collections %}
{% assign featured = collection.handle %}
{% if collection.title != 'NAMEOFCOLLECTION' %}
{% include 'collection-grid-item' with collection_width: collection_width %}
{% endif %}
{% endfor %}
NOTE: If you want to hide more than one collection, modify the if statement with âand collection.title != âNAMEOFCOLLECTION-2ââ as shown below.
{% for collection in list_collections %}
{% assign featured = collection.handle %}
{% if collection.title != 'NAMEOFCOLLECTION-1' and collection.title != 'NAMEOFCOLLECTION-2' %}
{% include 'collection-grid-item' with collection_width: collection_width %}
{% endif %}
{% endfor %}
@ScottP Thank you for posting this. Hiding a collection from the Collection List is exactly what I want to do, but I cannot find the file you referenced to edit my code. I am using the free Studio theme. Does that make a difference? Grateful for any help you can provide as Iâve spent hours on this and you have been my best hope!
@PaperMichelle Different Themes can possibly have different file names. Look for files with âcollectionâ in the name and see if you can find the right lines. There has to be code somewhere in one of the files that displays the collections.
Its not hiding the collection, Its adding blank collections
There is no Visibility option and no Hidden button
Hi,
Our question is slightly on the same note, but not exactly this. We have a collection that is live and accessible from the websiteâs search bar to anyone who would know or guess itâs name or from the recommendations list, even for a similar name. However, it is not listed/linked through main navigation bar or through any homepage banners. It might also be currently indexed on Google. We wish to keep that specific collection live but inaccessible to any user/visitor. While we know how to take it off from Google, how can we ensure it doesnât show up in the Websiteâs search results?
Hi @ScottP thanks for sharing this! If I want to hide a product using the method you explained, is it possible for someone to still access + purchase this product through a direct link?
Use case: we have hoodies we only want our Ambassadors to be able to purchase.