Show featured collection products only from same collection as product being viewed

Topic summary

A user wants to modify their store’s featured collection section to dynamically display only products from the same collection as the currently viewed product.

Attempted Solution:

  • Tried using metafields set to collection type
  • Encountered “No compatible fields” error when selecting dynamic content in the featured collection setup

Technical Context:

  • Using Dawn theme
  • Working on product page customization
  • Involves Liquid templating

Current Status:

  • User received a solution (referenced in follow-up)
  • Now seeking guidance on implementation: which template file to use and where to place the code
  • Issue remains unresolved pending implementation instructions
Summarized with AI on October 29. AI used: claude-sonnet-4-5-20250929.

Hi,

I want to use the featured collection section to only show products from the collection that the product being viewed currently is from.

I thought this could be done using metafields for different collections, but when I go to the featured selection setup and select dynamic content, it says “No compatible fields”.

I set the collection metafields up as collection type, but I’m obviously doing something wrong here? I am using the dawn theme if this makes any difference.

Thanks

1 Like

Thanks, which template file should I put this in and where please?