# where - Liquid Filter Reference

Source: https://support.storeconnect.com/articles/where-filter-reference · Last modified 21 August 2026

## Description

Creates an list including only the objects with a given property value, or any truthy value by default.

| Property | Value |
|----------|-------|
| **Return Type** | list |
| **Category** | lists |

## Examples

In this example, assume you have a list of pages and you want to show your help pages separately. Using `where`, you can create an list containing only the pages that have a \


```liquid

 %}

Help articles:
{% for article in help_articles -%}
- {{ article.title }}
{% endfor %}
```


**Output:** `All articles:\n- Support\n- Stock News\n- FAQs\n- About Us\n- Troubleshooting\n- Setup Guide\n\n\nHelp articles:\n- Support\n- FAQs\n- Troubleshooting\n- Setup Guide`

Say instead you have a list of articles and you only want to show those that are published. You can use `where` with a property name but no target value to include all articles with a truthy \


```liquid

 %}

Published articles:
{% for article in published_articles -%}
- {{ article.title }}
{% endfor %}
```


**Output:** `All articles:\n- Support\n- Stock News\n- FAQs\n- About Us\n- Troubleshooting\n- Setup Guide\n\n\nPublished articles:\n- Support\n- FAQs`

---

## Follow StoreConnect

- [Email Newsletter](https://getstoreconnect.com/c/lp-newsletter)
- [LinkedIn Newsletter](https://www.linkedin.com/build-relation/newsletter-follow?entityUrn=7444956928444862464)
- [YouTube](https://www.youtube.com/channel/UCngKdP2x8l1wcbAKW3tvU8g)
- [LinkedIn](https://www.linkedin.com/company/storeconnect)
- [X / Twitter](https://x.com/storeconnecthq)

## Popular Links

- [Partners](https://getstoreconnect.com/partners)
- [News](https://getstoreconnect.com/articles/news)
- [Events](https://getstoreconnect.com/articles/events)
- [Feature Comparison](https://getstoreconnect.com/how-we-compare)
- [Download a free trial](https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000FMkeKUAT)
- [Book a Demo](https://getstoreconnect.com/contact)

## Documentation

- [Help documentation](https://support.storeconnect.com/help-documentation)
- [AI agents](https://support.storeconnect.com/ai)
- [Videos & tutorials](https://support.storeconnect.com/videos-tutorials)
- [Developer reference](https://support.storeconnect.com/developer-reference)
- [Release notes](https://support.storeconnect.com/release-notes)
- [Troubleshooting](https://support.storeconnect.com/troubleshooting)
- [Trust Center](https://trust.getstoreconnect.com/)
- [Status Page](https://status.storeconnect.com/)

## Contact

- info@getstoreconnect.com
- US +1 415 745 3230
- AUS +61 2 8365 2308

100 S Ashley Dr, Suite 600-2461
Tampa FL 33602-600 USA

Level 22, Sydney Place
180 George Street
Sydney, NSW, 2000, AUS

---

StoreConnect Support — https://support.storeconnect.com/articles/where-filter-reference