{% sw_extends '@Storefront/storefront/component/product/card/badges.html.twig' %}
{% block component_product_badges %}
<div class="product-badges">
{% set nb_is_por = product.extensions.nimbits_por.is_por %}
{% set nb_show_price = product.extensions.nimbits_por.show_price %}
{% if not nb_show_price and nb_is_por %}
<div class="badge badge-price-request">
<span class="badge-label">{{ "listing.boxLabelRequest"|trans|sw_sanitize }}</span>
{% sw_icon 'ATN request' style {
'namespace': 'ATNTheme',
'pack': 'wbn',
'size': 'lg'
} %}
</div>
{% elseif product.parentId or product.childCount %}
<div class="badge badge-price-config">
<span class="badge-label">{{ "listing.boxLabelConfig"|trans|sw_sanitize }}</span>
{% sw_icon 'ATN config' style {
'namespace': 'ATNTheme',
'pack': 'wbn',
'size': 'lg'
} %}
</div>
{% endif %}
</div>
{% endblock %}