Xeloz
March 21, 2022, 8:56pm
1
Hello,
I am trying to add text to the bottom of the collection page in Warehouse Theme. I have done this previously in Debut and Brooklyn but the code here looks so different.
If anyone knows how to fix this issue and what code I need to move that would be very helpful.
Thank you,
Lewis
Xeloz
March 21, 2022, 8:58pm
2
The URL to the site is
https://smithcreekfishfarm.com/
Thank you.
1 Like
@Xeloz
oh sorry for that issue can you please share your collection page code here so i will check and update if you’re comfortable working with coding languages (eg. HTML, JavaScript, CSS, and Liquid), then you can try to follow the custom coding provided by
Hi @Xeloz ,
Please find ‘pagination’ and add code here:
Happy to help you.
1 Like
Xeloz
March 22, 2022, 7:45am
5
Hello,
Thank you so much for your help.
Can you confirm if this is the code that I need to move to the bottom or which part of the code? The trouble I am having here is actually finding what part of the code that needs moving to pagination.
I have added screenshots below.
Thank you,
Lewis
Xeloz
March 22, 2022, 7:48am
6
Hello Ketan,
Thank you so much for your response. I have added the code below to which I think is the correct part I just don’t know which part to move to the Pagination.
I really appreciate your help.
Kind regards,
Lewis
Hi @Xeloz ,
Don’t you want to add new text?
Are you trying to move the collection description to the bottom?
Please send me the code of the file, I will help you check it
1 Like
Xeloz
March 22, 2022, 8:08am
8
Hi @LitExtension
I am trying to move the collection description to the bottom of the page yes.
Please see below for the code from collection-template.liquid
Once again thank you so much for your help
TOP PART (COLLECTION INFO + TOOLBAR)
--------------------------------------------------------------------------------------
{%- endcomment -%}
{%- if collection.all_products_count == 0 -%}
{{ collection.title }}
{{ 'collection.general.empty' | t }}
{{ 'collection.general.empty_button' | t }}
{%- else -%}
{%- if has_filters -%}
{%- endif -%}
{%- assign offset = paginate.current_offset | plus: 1 -%}
{%- assign page_size = paginate.current_offset | plus: paginate.page_size | at_most: paginate.items -%}
{{ 'collection.general.showing_count' | t: offset: offset, page_size: page_size, count: paginate.items }}
{% render 'icon', icon: 'nav-triangle-borderless' %}
{%- assign collection_sort_by = collection.sort_by | default: collection.default_sort_by -%}
{%- for option in collection.sort_options -%}
{%- if option.value == collection_sort_by -%}
{%- assign collection_sort_by_name = option.name -%}
{%- break -%}
{%- endif -%}
{%- endfor -%}
{% render 'icon', icon: 'nav-triangle-borderless' %}
{%- for option in collection.sort_options -%}
{%- endfor -%}
{{ 'collection.layout.title' | t }}
{%- if section.settings.default_view_layout == 'grid' -%}
{%- else -%}
{%- endif -%}
{%- comment -%}
--------------------------------------------------------------------------------------
MOBILE FILTERS
--------------------------------------------------------------------------------------
{%- endcomment -%}
{%- if has_filters and current_tags.size > 0 -%}
{%- for tag in current_tags -%}
{%- endfor -%}
{%- if current_tags.size > 1 -%}
{%- endif -%}
{{ 'collection.general.results_count' | t: count: collection.products_count }}
{%- endif -%}
{%- comment -%}
--------------------------------------------------------------------------------------
COLLECTION PRODUCTS
--------------------------------------------------------------------------------------
{%- endcomment -%}
{%- if collection.products_count == 0 -%}
{{ 'collection.general.no_results' | t }}
{%- else -%}
{%- if view_mode == 'grid' -%}
{%- assign show_as_list = false -%}
{%- else -%}
{%- assign show_as_list = true -%}
{%- endif -%}
{%- for product in collection.products -%}
{%- render 'product-item', product: product, list: show_as_list, grid_classes: grid_classes -%}
{%- endfor -%}
{%- render 'pagination', paginate: paginate -%}
{%- endif -%}
{%- endif -%}
{%- endpaginate -%}
Hi @Xeloz ,
I checked and have you moved it?
1 Like
Xeloz
March 22, 2022, 2:14pm
10
Hi @LitExtension
It works perfectly. All of the text is now at the bottom of the page.
I can not express how grateful I am for your help with this.
Thank you and have a great day.
1 Like