Hi-
I am using the venture theme. I would like to move the location of my page numbers on my collections to be below the products, instead of below the collection description. My collection description is lengthy and i don’t want someone to not realize there are more products available in that collection.
example of page
https://www.chickychickyblingbling.com/collections/party-supplies-and-party-favors
Venture theme
Thank you for your time
Holly
Hi @Chickybling ,
Please send me the code of templates > collection.liquid file, I will help you to move it
WOW Thank you
{% paginate collection.products by 20 %}
{{ collection.title }}
{% if current_tags %}
– {% assign title_tags = current_tags | join: ', ' %}
{{ title_tags }}
{% endif %}
{% section 'collection-filters' %}
{% for product in collection.products %}
{% include 'product-card', product: product %}
{% else %}
{% comment %}
Add default products to help with onboarding for collections/all only.
The onboarding styles and products are only loaded if the
store has no products.
{% endcomment %}
{% if shop.products_count == 0 %}
{% assign collection_index = 1 %}
{% for i in (1..10) %}
{% case i %}
{% when 7 %}
{% assign collection_index = 1 %}
{% when 8 %}
{% assign collection_index = 2 %}
{% when 9 %}
{% assign collection_index = 3 %}
{% when 10 %}
{% assign collection_index = 4 %}
{% endcase %}
{% assign collection_index = collection_index | plus: 1 %}
{% endfor %}
{% else %}
{% comment %}
If collection exists but is empty, display message
{% endcomment %}
{{ 'collections.general.no_matches' | t }}
{% endif %}
{% endfor %}
{% if collection.description != blank %}
{{ collection.description }}
{% endif %}
{% if paginate.pages > 1 %}
{{ paginate | default_pagination | replace: '« Previous', '←' | replace: 'Next »', '→' }}
{% endif %}
{% endpaginate %}
Hi @Chickybling ,
Please change all code:
{% paginate collection.products by 20 %}
{% for product in collection.products %}
{% include 'product-card', product: product %}
{% else %}
{% comment %}
Add default products to help with onboarding for collections/all only.
The onboarding styles and products are only loaded if the
store has no products.
{% endcomment %}
{% if shop.products_count == 0 %}
{% assign collection_index = 1 %}
{% for i in (1..10) %}
{% case i %}
{% when 7 %}
{% assign collection_index = 1 %}
{% when 8 %}
{% assign collection_index = 2 %}
{% when 9 %}
{% assign collection_index = 3 %}
{% when 10 %}
{% assign collection_index = 4 %}
{% endcase %}
{% capture current %}{% cycle 1, 2, 3, 4, 5, 6 %}{% endcapture %}
{{ 'product-' | append: current | placeholder_svg_tag: 'placeholder-svg' }}
{{ 'homepage.onboarding.product_title' | t }}
$19.99
{% assign view_string_length = 'products.product.view' | t | size %}
{{ 'products.product.view' | t }}
{% assign collection_index = collection_index | plus: 1 %}
{% endfor %}
{% else %}
{% comment %}
If collection exists but is empty, display message
{% endcomment %}
{{ 'collections.general.no_matches' | t }}
{% endif %}
{% endfor %}
{% if paginate.pages > 1 %}
{{ paginate | default_pagination | replace: '« Previous', '←' | replace: 'Next »', '→' }}
{% endif %}
{% if collection.description != blank %}
{{ collection.description }}
{% endif %}
{% endpaginate %}
Hope it helps!
1 Like
Thank you so much.. I have a question about lit-commerce i was looking into it.
Elia18
September 8, 2022, 3:43pm
6
Thanks to you I did it as well! just reading and comparing both codes! I learned a lot!
1 Like