Skip to main content
Horizon collection pages feature advanced filtering, infinite scroll, customizable product grids, and responsive layouts optimized for browsing products.

Key Features

  • Infinite Scroll: Automatically load more products as users scroll
  • Filtering System: Advanced product filtering by tags, variants, price, and more
  • Grid & Editorial Layouts: Choose between classic grid or editorial organic layout
  • Responsive Cards: Adjustable card sizes for mobile and desktop
  • Performance Optimized: Uses view transitions and efficient rendering

Collection Container

The main collection section wraps the product grid and filters:

Layout Types

Grid Layout

Classic grid with consistent card sizing:

Editorial Layout

Organic layout with varying card sizes:
Features:
  • Variable card sizes for visual interest
  • Masonry-style layout
  • Better for editorial/lifestyle brands

Product Grid Rendering

Paginated Products

Product Card Attributes

Unique identifier for each product card, used for scroll anchoring.

Infinite Scroll

Automatic product loading as users scroll:

Configuration

When enabled:
  • Products load automatically when scrolling near bottom
  • Uses Intersection Observer API
  • Shows loading indicator
  • Updates URL with current page
When disabled:
  • Shows pagination controls
  • Manual page navigation
  • Configurable products per page

Products Per Page

When infinite scroll is enabled, products per page is fixed at 24 for optimal performance.

Card Sizes

Desktop Card Size

Mobile Card Size

CSS Implementation:

Grid Layout Settings

Width Options

Full Width on Mobile

Forces full-width grid on mobile even when using page-width on desktop.

Gap Settings

Space between product cards horizontally.
CSS Variables:

Padding Settings

Filtering System

Integrated filtering block for product discovery:
Filter Types:
  • Tags
  • Variants (color, size, etc.)
  • Price range
  • Availability
  • Vendor
  • Product type

URL Hash Navigation

Automatic scroll to products when using URL hash:
Usage:
Scrolls directly to product with ID 123.

View Transitions

Smooth animations when emptying cart:

Grid Column System

The collection wrapper uses a smart grid:
With Filters:
Without Filters:

JavaScript Module

The collection list is powered by results-list.js:
Handles:
  • Infinite scroll detection
  • URL parameter management
  • Filter state
  • Page transitions
  • Analytics events

Performance Optimizations

Lazy Loading

All product images are lazy-loaded by default.

Fetchpriority

Non-critical JavaScript loads with low priority.

Content Visibility

Accessibility

When loading new products via infinite scroll, focus is managed to prevent disorientation.

Schema Configuration