Hello everybody,
Hope you're doing well.
I have a question regarding an element on my collection page in Pagefly.
So I have this "filter by tags" done in HTML at the top of my collection, which I would like it to appear not on ALL collections but only on one specific one.
Here is the HTML code :
<div class="clearfix filter">
<p>Trier par type de thé</p>
<select class="coll-filter">
<option value="">Tous les types</option>
{% for tag in collection.all_tags %} {% if current_tags contains tag %}
<option value="{{ tag | handle }}" selected>{{ tag }}</option>
{% else %}
<option value="{{ tag | handle }}">{{ tag }}</option>
{% endif %} {% endfor %}
</select>
</div>
Does anyone have any idea how to do that ? Hide this part on all collections but one ?
Thanks !
Hamza
User | Count |
---|---|
23 | |
20 | |
17 | |
15 | |
15 |