Collection "ALL" + Hide specific type of Product

Solved
timvma
Tourist
12 3 0

I want to hide a specific types of product in my collection "all"   without destroying my pagination

 {% for product in collection.products  %}
      {% if product.type != 'type1' and product.type != 'type2'%}
          ---
      {% endif %}
  {% endfor %}
 
any  tips 
Thanks in advance
0 Likes
timvma
Tourist
12 3 0

This is an accepted solution.

Just got a solution 

1. Make a Collection named "All" 

2. In the condition section

Products must match: all conditions

Product type -> is not equal to -> type
 
3. Set the navigation
 

 

0 Likes