{% sw_extends '@Storefront/storefront/component/product/card/badges.html.twig' %}


{% block component_product_badges_topseller %}
    {% if product.markAsTopseller %}
        <div>
            <span class="badge bg-primary badge-topseller">{{ "listing.boxLabelTopseller"|trans|sw_sanitize }}</span>
        </div>
    {% endif %}
{% endblock %}