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