Final sale message on sale items on checkout (not cart page)

Good day,

My question might be easy to answer, but I couldn’t find a solution after searching and trying things for days now.

I am using Shopify Plus and so, I have access to the checkout.liquid which allows me to use Javascript/Jquery during the checkout process. So this is what I would like to do:

At the final checkout page, I would like to loop through the products on checkout, checking each product for matching sale (outlet) tag, then append final sale message to qualifying items. I used liquid for the initial server side request, then jquery to append final sale badge to items that qualify. This is what i currently have:

{{ content_for_layout }} {% for item in checkout.line_items %}

{% if item.product.tags contains ‘OUTLET’ %}

{%endif %}
{% endfor %}