You do not need to edit theme code and this will help with future theme updates.
With Horizon family of themes you can configure your product cards in Customizer – just add a “Custom liquid” block right under “Media” and paste this code:
{% if closest.product.tags contains "just_added" %}
<div
class="product-badges product-badges--top-left"
style="--badge-border-radius: 100px;"
>
<span
class="just-added product-badges__badge product-badges__badge--rectangle
color-scheme-4"
>
Just added
</span>
</div>
{% endif %}
if my post is helpful, please like it ♡ and mark as a solution -- this will help others find it
