How can I add more rows to my featured collection list?

Need help adding extra rows to my featured collection list, its currently at 3 ive looked all over the list-collections-template and cant see to figure out how to change it to a higher number.

Hi @vanityapparel
Thank you for your question.
Please share your store URL, page URL and also password (if your store has one) so we can help you.

https://vanity.clothing/

password- h

i have around 30 products but only a couple are being shown i guessing its because of the rows being capped at 3 but i not sure

1 Like

Go to Online Store > Themes > Customize > click on Feature collection list section and check if it has option to set number of list

@vanityapparel

yes, please share your collection list section code so i will check and let you know

{% if section.settings.layout == ‘grid’ %}
{% if section.settings.display_type == ‘all’ %}
{%- assign collection_count = 0 -%}
{% for collection in collections %}
{% unless collection.handle == ‘frontpage’ %}
{%- assign collection_count = collection_count | plus: 1 -%}
{% endunless %}
{% endfor %}
{% else %}
{%- assign collection_count = section.blocks.size -%}
{% endif %}

{% assign number_rows = %}

{% case collection_count %}
{% when 1 %}
{% assign grid_item_width = ‘medium-up–one-half’ %}
{% assign height = 450 %}
{% when 2 %}
{% assign grid_item_width = ‘medium-up–one-half’ %}
{% assign height = 450 %}
{% when 3 %}
{% assign grid_item_width = ‘medium-up–one-third’ %}
{% assign height = 330 %}
{% when 4 %}
{% assign grid_item_width = ‘medium-up–one-quarter’ %}
{% assign height = 235 %}
{% else %}
{% assign grid_item_width = ‘medium-up–one-third’ %}
{% assign height = 330 %}
{% assign number_rows = collection_count | divided_by: 3.0 | ceil %}
{% endcase %}
{% endif %}

{% if section.settings.display_type == 'all' %} {% case section.settings.sort %} {% when 'products_high' or 'products_low' %} {%- assign list_collections = collections | sort: 'all_products_count' -%} {% when 'date' or 'date_reversed' %} {%- assign list_collections = collections | sort: 'published_at' -%} {% else %} {%- assign list_collections = collections -%} {% endcase %} {% if section.settings.sort == 'products_low' or section.settings.sort == 'date' or section.settings.sort == 'alphabetical' %}
{% assign row_number = 1 %} {% for collection in list_collections %} {%- assign featured_collection = collection -%} {% unless collection.handle == 'frontpage' %} {% if section.settings.layout == 'list' %} {% include 'collection-list-item' %} {% else %} {% if collection_count > 4 and forloop.index > 3 %} {% assign row_number = forloop.index | divided_by: 3.0 | ceil %} {% endif %} {% include 'collection-grid-item' with stretch_collection_image: false, height: height %} {% endif %} {% endunless %} {% endfor %}
{% else %}
{% assign row_number = 1 %} {% for collection in list_collections reversed %} {%- assign featured_collection = collection -%} {% unless collection.handle == 'frontpage' %} {% if section.settings.layout == 'list' %} {% include 'collection-list-item' %} {% else %} {% if collection_count > 4 and forloop.index > 3 %} {% assign row_number = forloop.index | divided_by: 3.0 | ceil %} {% endif %} {% include 'collection-grid-item' with stretch_collection_image: false, height: height %} {% endif %} {% endunless %} {% endfor %}
{% endif %} {% else %}
{% assign row_number = 1 %} {% for block in section.blocks %} {%- assign featured_collection = collections[block.settings.collection] -%} {% if section.settings.layout == 'list' %} {% include 'collection-list-item' %} {% else %} {% if collection_count > 4 and forloop.index > 5 %} {% assign row_number = forloop.index | divided_by: 3.0 | ceil %} {% endif %} {% include 'collection-grid-item' with stretch_collection_image: false, height: height %} {% endif %} {% endfor %}
{% endif %}