{% sw_extends '@Storefront/storefront/component/pagination.html.twig' %}

{% block component_pagination %}
    {% if app.request.query.get('boxLayout') is not null %}
        {% set searchQuery = searchQuery ~ '&boxLayout=' ~ app.request.query.get('boxLayout') %}
    {% endif %}

    {{ parent() }}
{% endblock %}