Cart Drawer If Statement

Hello, I'm trying to get my cart drawer in the Brooklyn theme to only show text if a product is in a certain product type. 

 

This is what I have so far which I've been told would work

 

{% for item in cart.items %}
{% if item.product.type contains 'Flies' %}
Total Flies: {{ item.quantity | times: 3 }}
{% endif %}
{% endfor %}

This does show the item.quantity times 3, however, it shows it on any product that is in the cart whether it is part of the Flies product type or not. Any ideas on how to limit to just the items with a product type of Flies?

0 Likes