Order Printer - Show product if - possible?

Hi,

I would like to add two templates to the order printer. Both do the same but with different tags.

Does something like this work? I have no clue, I don’t unterstand Liquid.

I would like to show a product if the tag says ”warm” if not hide the product from the order printer page. Is it possible to build a division for ”warm”/”cold” Dishes?

{%if product.tags contains “warm” %}

{ Display: none; }
Item {% endif %}