Hi all — looking for help (or a Partner who can jump in) on a breaking issue affecting our collection pages.
Context
We recently consolidated several products using Shopify’s new combined product/variant model so customers see fewer listings. Some products now have ~1,200 variants. Product detail pages load fast and behave correctly. The problem appears only on collection pages containing multiple of these high-variant products.
Symptoms
-
If a collection contains ~6 or more high-variant products, the collection page fails with Shopify’s generic error page and will not load.
-
Each product renders fine on its own PDP, and each renders fine as a collection of one.
-
This occurs even on a fresh, unmodified Horizon theme.
Environment
-
Theme: Horizon (fresh/vanilla test + our customized store)
-
OS 2.0; no custom app blocks on the test theme
-
Issue reproduced across multiple browsers, devices, and networks
Working hypothesis
Something in Horizon’s collection/product-card stack is looping through variants in the collection context (e.g., for swatches, inventory badges, or quick-add behavior), causing the collection render to time out or exceed Liquid limits when several high-variant products appear together. I attempted to strip those loops, but it seems there’s an additional call/loop occurring elsewhere (possibly an include/snippet or JS that fetches all variants).
What I’ve tried / ruled out
-
Theme/App conflicts
-
Spun up a brand-new Horizon theme with no custom code → still fails.
-
Disabled quick-add and any blocks likely to prefetch variant JSON → still fails.
-
Removed/disabled custom snippets and app blocks → still fails.
-
-
Template & snippet hardening
-
Edited
product-card.liquidandmain-collection.liquidto avoid iterating overproduct.variants(e.g., useproduct.price_min/display only base info). -
Ensured no variant-level loops in the tested card markup (swatches/options removed or replaced with static placeholders).
-
Despite this, the error persists, suggesting variant touching elsewhere (another snippet/section or JS prefetch).
-
-
Data integrity
-
Each product renders cleanly on its PDP.
-
Each product renders in a collection by itself.
-
Created smaller test collections with mixed items to isolate thresholds (appears to break around 5–6 high-variant products).
-
-
Caching / browser
- Cleared caches, used incognito, tried multiple devices/locations → no change.
Temporary mitigations tested
-
Lowering products per page helps but isn’t a real fix.
-
Hiding swatches/option counts on cards reduces page weight but does not eliminate the failure.
-
Disabling quick-add drawers and inventory badges did not stop the error.
Ask
-
Horizon theme team / Shopify staff: Is there a known behavior in Horizon’s collection rendering (or associated JS) that accesses variants per product card, even when card markup appears simplified?
-
Partners/experts: What’s the best-practice pattern to make product cards fully “variant-agnostic” on collection pages (i.e., guarantee no variant loops/prefetch), while keeping quick-add disabled?
-
Any guidance on specific includes/snippets within Horizon that commonly trigger variant enumeration would be very helpful (names/paths welcome).
I can provide:
-
Request IDs from the error page
-
Theme file snippets (
product-card.liquid,main-collection.liquid, any includes) in sanitized form -
A minimal reproduction collection
This is urgent for us because several core collections are currently non-functional. Thanks in advance for any direction or for a Partner willing to implement a robust fix.