        {% endif %}
        {% else %}
          {% assign visible_items = visible_items | push: i %}
        {% endif %}
      {% endfor %}

      {% if visible_items.size > 0 %}
        {% assign total_visible_items = total_visible_items | plus: visible_items.size %}
      {% endif %}
    {% endif %}
  {% endfor %}
{% endfor %}

{% if total_visible_items > 0 %}
  <section id="more-by-company">
    <h2>More by {{ page.company.name }}</h2>

    {% for company in page.more_by_company %}

      {% assign item