    {% endif %}

                                <span class="current">
                                    Page {{ products.number }} of {{ products.paginator.num_pages }}.
                                </span>

                                {% if products.has_next %}
                                    <a href="{% url 'vendors'%}?{% query_params_url 'product_page' products.next_page_number %}">next</a>
                                    <a href="{% url 'vendors'%}?{% query_params_url 'product_page' p