Hide collections page or hide one collection from collections page.

Jawid_yaseen
New Member
2 0 1

Hello,

I tried looking for this everywhere on the web but unfortunately was unable to find the answer. I am using Blockshop and I would like to remove the /collections entirely or just have it hidden somehow. If that is not possible, I would like to hide a certain collection from the /collections page but I don't know how. 

list-collections.liquid:

{% paginate collections by 36 %}

<header class="row">
  <div class="left columns large-6">
    {% if snippet-collection-listing == '' or template == 'list-collections' %}
      <h1 class="page-title">{{ 'collections.page_title' | t }}</h1>
    {% else %}
      <h1 class="page-title">{{ linklists[snippet-collection-listing].title }}</h1>
    {% endif %}
  </div>
</header>


<div class="row">
  {% assign count = 0 %}
  <div class="collections-grid clearfix">
    {% for collection in collections %}
      {% unless collection.handle == 'all' or collection.handle == 'all-products' or collection.handle == 'frontpage' %}
        {% include 'snippet-collection-item' %}
        {% assign count = count | plus: 1 %}
      {% endunless %}
    {% endfor %}
  </div>
  {% if count == 0 %}
    <div class="add-first-collection columns large-6" class="clearfix">
      <p>{{ 'collections.no_collections_feedback' | t }}</p>
      <a class="button" href="/admin/collections">{{ 'collections.no_collections_link' | t }}</a>
    </div><!-- #add-first-collection-->
  {% endif %}
</div>

{% if paginate.pages > 1 %}
  <footer class="row">
    <div class="right columns large-6">
      {% include 'snippet-pagination' %}
    </div>
  </footer>
{% endif %}

{% endpaginate %}

 

Replies 6 (6)
Jason
Shopify Expert
10438 168 2081

Hey Jawid,

If you are wanting to hide collections from the /collections page this page has some useful tips:
https://help.shopify.com/themes/customization/collections/change-collections-page

I jump on these forums to help and share some insights. Not looking to be hired, and not looking for work.
Don't hand out staff invites or give admin password to forum members unless absolutely needed. In most cases the help you need can be handled without that.
★ http://freakdesign.com.au ★
Jawid_yaseen
New Member
2 0 1

Hey Jason,

Thanks that helped a bit! But it is still showing the home / collections tab and I was wondering if I would be able to get rid of that at all? 

Jason
Shopify Expert
10438 168 2081

I'm not sure what you a referring to when talking about "home / collections tab". Is there something showing in your page or menus, or is it the title shown on the browser tab (or perhaps something else)?

Your store is locked so that makes it hard to take a guess at what your might be talking about.

 

I jump on these forums to help and share some insights. Not looking to be hired, and not looking for work.
Don't hand out staff invites or give admin password to forum members unless absolutely needed. In most cases the help you need can be handled without that.
★ http://freakdesign.com.au ★
Mixxci
Tourist
4 0 7

For anyone else like me who is trying to find how to select which collections are displayed, the solution I found is here: https://help.shopify.com/themes/customization/collections/change-collections-page

Biqing_Weng
New Member
1 0 0

Hi Jason, 

Can you please make an step by step instruction on this topic as the link you suggested does not help. I was following the instruction but was able to select all collections or one collection. How do I exclude collections?

winewarehouse
New Member
7 0 0

same! how do I fix this?

 

I want my collection to be featured on my homepage, but I want to remove the collection from this collection page. how do i do that?