I have a lot of categories and these currently load as collection pages when selected. These categories have subcategories so I am trying to add navigation sections for each products subcat but this requires making templates for each collection page. When I go to make a new template, I am having a trouble duplicating the default collection section elements like product filters. How do I make separate page templates for each collection?
Topic summary
Main issue: Create separate collection page templates to add subcategory navigation, but difficulty duplicating default elements like product filters.
Key constraints: Separate templates are possible but have drawbacks:
- Store limit of 1000 templates (unlikely to be hit, but noted).
- High maintenance and configuration effort per template.
Recommended approach (no multiple templates):
- Add a collection metafield (e.g., “subcollections” as a list of collections) and render these on a single collection template via a custom section.
- Use Custom Liquid (Shopify’s templating language) to loop and display the metafield’s collections.
- Alternatively, if sub-collections are reflected in the navigation menu, iterate the menu to output sub-collections.
Outcome and next steps:
- The requester plans to hire help to implement the solution; asks about paid services.
- No confirmation on service availability; thread remains open.
Unresolved details:
- How to replicate default product filters within custom sections isn’t explicitly addressed, but the single-template approach aims to retain existing filter functionality while adding subcollection lists.
While this is possible to create a separate template for each collection there are some drawacks:
- There is a limit of 1000 templates per store. Probably not an issue but still.
- It’s a pain to manage big number of templates.
- Each of them would need to be configured separately.
I would approach it differently.
One way is to define a new metafields for collection, call is “subcollections” and make it a list of collections type.
This way, to each collection you would be able to add a list of collections on collections page in admin.
Then on a single collection template, add a new section – this is where you’d need to either ask an AI or forum people to help you with “Custom Liquid” which will list these collections.
OR, if this collection-> sub-collections structure is reflected in your menu, it is possible on collection page to walk over your menu and output a list of sub-collections separately.
Again, no need for separate templates.
Thank you for this advice, I think Im going to hire someone for this task just to make sure it’s perfect. Do you offer paid services?