{% if section == 'products' %}
{% paginate item.products by 30 %} {% for product in item.products %}
  {{ product.name }} - {{ product.price_range | money | join: ' - ' }}
{% endfor %} {{ item.products_pagination }} {% endpaginate %}
{% else %}

{{ item.name }}

{% if item.soundcloud_playlist_id %}
{% endif %}
{{ item.description | simple_format }}
{% if item.history_items.size > 0 %}
{% for history_item in item.history_items %}

{{ history_item.name }}

{% comment %} The history_item.release_information attribute combines three attributes into an array that can be passed to the join filter: * history_item.released_on * history_item.released_by * history_item.catalog_number You can use each of the above three separate attributes rather than the single release_information attribute. {% endcomment %} {{ history_item.release_information | join: ' · ' }}
{{ history_item.description | simple_format }}
{% endfor %}
{% endif %} {% if item.products.size > 0 %}
{% for product in item.products limit:5 %} {% endfor %} {% if item.products.size > 5 %} {% endif %}
{% endif %}
{% endif %}