custom/plugins/Datablue/src/Resources/views/storefront/component/product/card/badges.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/component/product/card/badges.html.twig' %}
  2. {% block component_product_badges_topseller %}
  3.     {% if product.markAsTopseller %}
  4.         <div class="badge badge-warning badge-topseller">
  5.             <span>{{ "listing.boxLabelTopseller"|trans|sw_sanitize }}</span>
  6.         </div>
  7.     {% endif %}
  8. {% endblock %}
  9. {% block component_product_badges_new %}
  10.     {% if product.isNew %}
  11.         <div class="badge badge-success badge-new">
  12.             <span>{{ "listing.boxLabelNew"|trans|sw_sanitize }}</span>
  13.         </div>
  14.     {% endif %}
  15. {% endblock %}