{% block component_product_box_include %}
{# Includes a custom product-box template defined by the layout variable.
The standard template is used if no custom layout is set. #}
{% if layout is empty %}
{% set layout = 'standard' %}
{% endif %}
{% set sizes = {
'xs': '500px',
'sm': '500px',
'md': '390px',
'lg': '350px',
'xl': '500px'
} %}
{% if layout == 'image' %}
{% set sizes = {
'xs': '500px',
'sm': '500px',
'md': '390px',
'lg': '350px',
'xl': '500px'
} %}
{% endif %}
{% if layout == 'standard' %}
{# <div class="isMobile"> #}
{% sw_include '@Storefront/storefront/component/product/card/box-standard.html.twig' %}
{# </div> #}
{# <div class="isDesktop" style="margin: 0 15px 0 15px;">
{% sw_include '@Storefront/storefront/component/product/card/box-standard-mobile.html.twig' %}
</div> #}
{% elseif layout == 'image' %}
{% sw_include '@Storefront/storefront/component/product/card/box-image.html.twig' %}
{% elseif layout == 'minimal' %}
{% sw_include '@Storefront/storefront/component/product/card/box-minimal.html.twig' %}
{% elseif layout == 'wishlist' %}
{% sw_include '@Storefront/storefront/component/product/card/box-wishlist.html.twig' %}
{% else %}
{% set template = '@Storefront/storefront/component/product/card/box-' ~ layout ~ '.html.twig' %}
{% sw_include template ignore missing %}
{% endif %}
{% endblock %}