{% if mostBought is not empty or productsInCategory is not empty %}
<section class="product-list product-list--product {% if isProductPage is defined %}recommended-products{% endif %}">
<div class="container">
{% if module.title is defined %}
<header class="product-list__header">
<h2 class="product-list__heading">{{ module.title }}</h2>
</header>
{% endif %}
<div class="row">
<div
class=" {% if isProductPage is defined %}
product-list__slider
product-list__slider-product-page
{% else %}
product-list__slider
{% endif %}"
data-sliderRecommended
>
{% if module.extraProducts is defined and module.extraProducts is not empty %}
{% set mostBought = module.extraProducts|merge(mostBought) %}
{% for product in mostBought %}
{% include "frontend-eforum/_partials/product-box.html.twig" with {product: product, 'kcShortDesc': true} %}
{% endfor %}
{% else %}
{% if productsInCategory == null %}
{% for product in mostBought %}
{% include "frontend-eforum/_partials/product-box.html.twig" with {product: product, 'kcShortDesc': true} %}
{% endfor %}
{% else %}
{% for product in productsInCategory %}
{% include "frontend-eforum/_partials/product-box.html.twig" with {product: product, 'kcShortDesc': true} %}
{% endfor %}
{% endif %}
{% endif %}
</div>
</div>
</div>
</section>
{% endif %}