{% block seller_box %}
{% if seller.storeSlug %}
{% set customerId = seller.storeSlug %}
{% else %}
{% set customerId = seller.customerId %}
{% endif %}
{% set publicProfilePath = path('frontend.marketplace.seller.profile.detail', { storeSlug: customerId }) %}
<div class="card seller-box">
{% block seller_box_header %}
<div class="card-header">
<a href="{{ publicProfilePath }}">
{% if seller.mediaBanner %}
<img src="{{ seller.mediaBanner.url }}" alt="{{ seller.storeTitle }}"/>
{% else %}
<img src="/bundles/webkulmvmarketplace/storefront/seller-profile/default/default.svg"
alt="{{ seller.storeTitle }}"/>
{% endif %}
</a>
</div>
{% endblock %}
{% block seller_box_body %}
<div class="card-body">
<div class="row seller-information-row">
<div class="col-6">
{% block seller_box_body_logo %}
<div class="seller-media-logo">
<a href="{{ publicProfilePath }}">
{% if seller.mediaLogo %}
<img src="{{ seller.mediaLogo.url }}" alt="{{ seller.storeTitle }}"/>
{% else %}
<img src="/bundles/webkulmvmarketplace/storefront/seller-profile/default/default.svg"/>
{% endif %}
</a>
</div>
{% endblock %}
</div>
<div class="col-6 seller-title-col">
{% block seller_box_body_title %}
<h5>
<a href="{{ publicProfilePath }}">{{ seller.storeTitle }}</a>
</h5>
{% if seller.extensions.products is not empty %}
{{ 'mrpixShoppingCity.listing.labelProducts'|trans({
'%productCount%': seller.extensions.products.count
})|sw_sanitize }}
{% endif %}
{% endblock %}
</div>
</div>
{% if seller.extensions.propertyGroupOptions %}
{% block seller_box_body_property_options %}
{% sw_include '@MrpixShoppingCity/storefront/component/seller/profile-properties.html.twig' %}
{% endblock %}
{% endif %}
</div>
{% endblock %}
</div>
{% endblock %}