Skip to content
This repository has been archived by the owner on Aug 30, 2018. It is now read-only.

Commit

Permalink
Merge pull request #365 from Shopify/collection-sidebar
Browse files Browse the repository at this point in the history
Remove type and vendor links in collection sidebar
  • Loading branch information
cshold committed Mar 17, 2015
2 parents 196da04 + 682e596 commit 023aedf
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 56 deletions.
2 changes: 0 additions & 2 deletions locales/de.json
Expand Up @@ -84,8 +84,6 @@
}
},
"sidebar": {
"types": "Produktart",
"vendors": "Verkäufer",
"tags": "Tags"
},
"sorting": {
Expand Down
2 changes: 0 additions & 2 deletions locales/en.default.json
Expand Up @@ -84,8 +84,6 @@
}
},
"sidebar": {
"types": "Product Types",
"vendors": "Vendors",
"tags": "Tags"
},
"sorting": {
Expand Down
2 changes: 0 additions & 2 deletions locales/es.json
Expand Up @@ -84,8 +84,6 @@
}
},
"sidebar": {
"types": "Tipos de producto",
"vendors": "Proveedores",
"tags": "Etiquetas"
},
"sorting": {
Expand Down
2 changes: 0 additions & 2 deletions locales/fr.json
Expand Up @@ -84,8 +84,6 @@
}
},
"sidebar": {
"types": "Types de produits",
"vendors": "Fournisseurs",
"tags": "Filtres"
},
"sorting": {
Expand Down
2 changes: 0 additions & 2 deletions locales/pt-BR.json
Expand Up @@ -84,8 +84,6 @@
}
},
"sidebar": {
"types": "Tipos de produtos",
"vendors": "Fabricantes",
"tags": "Marcadores"
},
"sorting": {
Expand Down
2 changes: 0 additions & 2 deletions locales/pt-PT.json
Expand Up @@ -84,8 +84,6 @@
}
},
"sidebar": {
"types": "Tipos de Produtos",
"vendors": "Fornecedores",
"tags": "Etiquetas"
},
"sorting": {
Expand Down
44 changes: 0 additions & 44 deletions snippets/collection-sidebar.liquid
Expand Up @@ -10,50 +10,6 @@
{% endcomment %}

{% comment %}
Product types in the current collection
- List all of the shop's types with collections.all.all_types
- List the current collection's types with collection.all_types
{% endcomment %}
{% if collection.all_types.size > 0 %}
<h3>{{ 'collections.sidebar.types' | t }}</h3>
<ul class="no-bullets">
{% for type in collection.all_types %}
{% if collection.current_type == type %}
<li class="filter--active">
{{ type }}
</li>
{% else %}
<li>
{{ type | link_to_type }}
</li>
{% endif %}
{% endfor %}
</ul>
{% endif %}

{% comment %}
Product vendors in the current collection
- List all of the shop's vendors with collections.all.all_vendors
- List the current collection's vendors with collection.all_vendors
{% endcomment %}
{% if collection.all_vendors.size > 1 %}
<h3>{{ 'collections.sidebar.vendors' | t }}</h3>
<ul class="no-bullets">
{% for vendor in collection.all_vendors %}
{% if collection.current_vendor == vendor %}
<li class="filter--active">
{{ vendor }}
</li>
{% else %}
<li>
{{ vendor | link_to_vendor }}
</li>
{% endif %}
{% endfor %}
</ul>
{% endif %}

{% comment %}
Product tags in the current collection
{% endcomment %}
Expand Down

0 comments on commit 023aedf

Please sign in to comment.