Brooklyn Theme Pagination not defined?

Solved
ValleyShirt
New Member
2 0 0

Hey everyone, I'm having an issue with the pagination of the Brooklyn theme. Every resource tells you to change the pagination variable in the theme collection-template.kiquid. However, my theme's page looks as follows:

<!-- /templates/collection.liquid -->
<div id="CollectionSection" data-section-id="{{ section.id }}" data-section-type="collection-template" data-grid-type="{{ section.settings.collection_products_grid }}">
  {% include 'collection-template' %}
</div>


{% schema %}
{
  "name": {
    "de": "Kategorieseiten",
    "en": "Collection pages",
    "es": "Páginas de colección",
    "fr": "Pages de collection",
    "it": "Pagine delle collezioni",
    "ja": "コレクションページ",
    "pt-BR": "Páginas de Coleções"
  },
  "settings": [
    {
      "type": "select",
      "id": "collection_products_grid",
      "label": {
        "de": "Rasterstil",
        "en": "Grid style",
        "es": "Estilo de cuadrícula",
        "fr": "Style de grille",
        "it": "Stile griglia",
        "ja": "グリッドスタイル",
        "pt-BR": "Estilo da grade"
      },
      "options": [
        {
          "value": "collage",
          "label": {
            "de": "Collage",
            "en": "Collage",
            "es": "Collage",
            "fr": "Collage",
            "it": "Collage",
            "ja": "コラージュ",
            "pt-BR": "Colagem"
          }
        },
        {
          "value": "grid",
          "label": {
            "de": "Raster",
            "en": "Grid",
            "es": "Cuadrícula",
            "fr": "Grille",
            "it": "Griglia",
            "ja": "グリッド",
            "pt-BR": "Grade"
          }
        }
      ]
    },
    {
      "type": "checkbox",
      "id": "collection_sort_enable",
      "label": {
        "de": "Kategoriesortierung aktivieren",
        "en": "Enable collection sorting",
        "es": "Habilitar la la función ordenar colecciones",
        "fr": "Activer le tri de la collection",
        "it": "Abilita ordinamento collezione",
        "ja": "コレクションの並べ替えを有効にする",
        "pt-BR": "Ativar a ordenação de coleções"
      }
    },
    {
      "type": "checkbox",
      "id": "collection_tags_enable",
      "label": {
        "de": "Kategorie-Tags anzeigen",
        "en": "Show collection tags",
        "es": "Mostrar etiquetas de colección",
        "fr": "Afficher les balises de la collection",
        "it": "Mostra tag della collezione",
        "ja": "コレクションのタグを表示する",
        "pt-BR": "Exibir tags de coleção"
      }
    },
    {
      "type": "checkbox",
      "id": "product_vendor_enable",
      "label": {
        "de": "Produktverkäufer anzeigen",
        "en": "Show product vendor",
        "es": "Mostrar proveedor del producto",
        "fr": "Afficher le distributeur du produit",
        "it": "Indica fornitore prodotto",
        "ja": "商品の販売元を表示する",
        "pt-BR": "Exiba o fornecedor do produto"
      }
    }
  ]
}
{% endschema %}

How do I go about this? There's clearly no pagination variable. And there isn't one in the collection.liquid file either. I'm really not that bad with coding, but this is leaving me clueless?

 

Thanks very much for your answer! 

0 Likes
Nisarg
Shopify Partner
26 5 10

This is an accepted solution.

There will be "collection-template.liquid" in your theme's snippet folder.

You can find pagination code there.

ValleyShirt
New Member
2 0 0

Thank you so much for you answer! I kept confusing the sections and the snippets folder. That explains it. Thanks again!

0 Likes
Nisarg
Shopify Partner
26 5 10

Sections are included using : {% section 'section-name' %}

Snippets are included using : {% include 'snippet-name' %}

 

0 Likes