{"title":"intersection - Liquid Filter Reference","slug":"intersection-filter-reference","url":"https://support.storeconnect.com/articles/intersection-filter-reference","url_markdown":"https://support.storeconnect.com/articles/intersection-filter-reference.md","subtitle":null,"summary":"Returns only the items that appear in both lists. Use `intersection` to find common elements shared between two collections.","type":"Developer_Documentation","video_url":"","keywords":"liquid, filters, intersection, lists, storeconnect","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Description\n\nReturns the intersection of two lists\n\n| Property | Value |\n|----------|-------|\n| **Return Type** | list |\n| **Category** | lists |\n\n## Examples\n\n\n```liquid\n\n{{ list1 | intersection: list2 | join: \", \" }}\n```\n\n\n**Output:** `3, 4, 5`"}