{% if withWrapper is not defined %}
{% set withWrapper = false %}
{% endif %}
{% if titleTag is not defined %}
{% set titleTag = 'div' %}
{% endif %}
{% if withWrapper %}
<div class="product-carousel-ctn">
<div class="ctn">
{% endif %}
<div class="product-list-ctn">
{% if title is defined and title %}
<div class="title-ctn">
<{{ titleTag }} class="title">{{ title }}</{{ titleTag }}>
<hr>
</div>
{% endif %}
<ul class="product-list product-carousel">
{% for p in products %}
{% if p.hasPrice(customerMgr.priceContext) %}
{% include 'front/catalog/product/view/list-item.html.twig' with {product:p} %}
{% endif %}
{% endfor %}
</ul>
</div>
{% if withWrapper %}
</div>
</div>
{% endif %}