---
title: "all_products"

doc_type: static
doc_category: static
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/sline/object/all-products'
  md: 'https://developer.shopline.com/docs/sline/object/all-products.md'
---

# all_products


    All products in the store.

    This object is available globally in all templates. Using this object alone won't produce any output. It must be used with the [get](https://developer.shopline.com/docs/sline/filter/get.md) filter.





    
## Example

        
            

            Pass the product handle to return the corresponding [product](https://developer.shopline.com/docs/sline/object/product.md) object.


            

            
<SlineExample path={''} objects={ 
    [""] 
}>
```sline
{{#var product = all_products | get("earring-ab001") /}}
{{#link_to product.url}}
  {{product.title}}
{{/link_to}}
```
</SlineExample>
            
        
    
