03GENERAL

Main collection

This page explains how “Main collection” actually behaves, which data it depends on, and what its settings change.

Main collection

This page explains how “Main collection” actually behaves, which data it depends on, and what its settings change.

Used in templates
collection.json

What the theme does automatically

  • →

    Available filters depend on filters enabled in Shopify Search & Discovery.

  • →

    Quick add adapts to variant count: direct add or prior selection.

  • →

    Inventory and review badges require matching product data.

  • →

    Pagination is calculated by Shopify: the section only loads the configured number of items per page.

  • →

    Available languages, countries, and currencies come from Shopify Markets settings.

Understand the settings

Header

Configure the texts and elements displayed at the top of the section.

Eyebroweyebrow
Banner text colorbanner_text_color
Banner eyebrow colorbanner_eyebrow_color
Show collection imageshow_image
Default: enabled
Show descriptionshow_description
Default: enabled
Show breadcrumbsshow_breadcrumbs
Default: enabled
Breadcrumb labelbreadcrumbs_label
Homehome_label

Collection navigation

Enable cross-collection shortcuts and customize their presentation.

Show navigationshow_collection_nav
Default: enabled
Collectionsnavigation_collections

Leave blank to not display additional shortcuts to other collections.

Show thumbnailsshow_navigation_images
Default: enabled
Titlenavigation_heading
Accessibility labelnavigation_label

Grid

Set pagination, number of columns, and grid display controls.

Products per pageproducts_per_page

A higher value loads more cards on each page.

Default: 16 · Range: 8–36
Columns on desktopcolumns_desktop
Default: 4 · Range: 2–4
Columns on mobilecolumns_mobile
Default: 2 · Options: 1, 2
Show grid choiceshow_grid_switcher
Default: enabled
Grid choice wordinggrid_switcher_label
Column labelsgrid_columns_label

Filters and sorting

Activate the filtering and sorting tools, then adapt their presentation and labels.

Enable filtersenable_filtering
Default: enabled
Enable sortingenable_sorting
Default: enabled
Desktop layoutfilter_layout
Default: horizontal · Options: Horizontal bar, Column on the left, Column on the right
Column widthfilter_sidebar_width
Default: 300 · Range: 240–380px
Keep column visible when scrollingfilter_sidebar_sticky
Default: enabled
Filters buttonfilter_label
Filter titlefilter_heading
Sort labelsort_label
Applyapply_label
Resetclear_label
Clear allclear_all_label
Closeclose_label
Minimum priceminimum_label
Maximum pricemaximum_label
Active filtersactive_filters_label

Product cards

Adjust media, variants, purchase actions and sales signals for product cards.

Media loaded by cardmedia_limit

Limits the number of media loaded per product card.

Default: 2 · Range: 1–5
Navigating between mediaenable_media_slider
Default: enabled
Quick purchaseshow_quick_add
Default: enabled
Quantity selectorshow_quantity_selector
Default: disabled
Color chipsshow_color_swatches
Default: enabled
Material badgeshow_material_badge
Default: enabled
Low stockshow_low_stock
Default: enabled
Product notesshow_reviews
Default: enabled
Show free informationshow_product_infos
Default: enabled
Number of product informationinfo_limit
Default: 3 · Range: 1–6
Universal guideenable_size_guide
Default: enabled
Iconsize_guide_icon
Default: question · Options: Question, Measurements, Care, Materials, Gift, Sparkle, Search, Account, Chat, Bag, Heart, View, More, Check, Star, Quiz, Look
Low stock thresholdlow_stock_threshold

The low stock alert is displayed when the quantity on hand reaches this threshold.

Default: 5 · Range: 1–20
Color option namescolor_option_names

Separate option names used for colors with commas.

Size option namessize_option_names

Separate option names used for sizes with commas.

Quick purchasequick_add_label
Confirm additionconfirm_add_label
Adding in progressadding_label
Product addedadded_label
Add errorerror_label
Product out of stocksold_out_label
Universal guidesize_guide_label
Fallback guidesize_guide_text

System texts

Adapt counters, empty states, error messages and paging commands.

Label of the number of productsproduct_count_label
Title without resultempty_heading
Text without resultempty_text
Paginationpagination_label
Pagination stylepagination_style
Default: pages · Options: Page numbers, Show more button
Show more buttonload_more_label
Loadingloading_label
Loading errorload_error_label
Previous pageprevious_page_label
Next pagenext_page_label

Spacing

Adjust the space above and below the section.

Top marginpadding_top
Default: 40 · Range: 0–120px
Bottom marginpadding_bottom
Default: 80 · Range: 0–120px

Section palette

Applies a consistent palette to the background, text, and buttons in this section.

Section appearance

Use a dedicated paletteopaline_use_color_scheme
Default: disabled
Paletteopaline_color_scheme
Default: scheme-1

Spacing

Space after sectionopaline_section_spacing

Creates space between this section and the next. Mobile spacing adjusts automatically.

Default: 0 · Range: 0–160px
Left and right insetopaline_content_inset

Moves content away from the edges. Mobile spacing adjusts automatically.

Default: 0 · Range: 0–120px

Available blocks

App block@app

Add this block only when it provides useful information to the journey.

Free informationinfo

Add this block only when it provides useful information to the journey.

Promotional cardpromotion
Limit: 2

Add this block only when it provides useful information to the journey.

Before publishing

  • ✓

    Content remains readable in every color scheme.

  • ✓

    Labels match the storefront language.

  • ✓

    Displayed promotions match Shopify rules.

  • ✓

    Interactions remain accessible by keyboard and touch.