{% sw_extends '@TcinnThemeWareModern/storefront/themeware/includes/twt-badge-discount-include.html.twig' %}
{% block twt_product_badges_discount_badge %}
{% if product.calculatedPrice.listPrice.percentage >= 10 %}
{{ parent() }}
{% endif %}
{% endblock %}