Skip to main content

all_products

All of the products on a store.


Note

The all_products object has a limit of 20 unique handles per page. If you want more than 20 products, then consider using a collection instead.


Directly accessible in

  • Global

You can use all_products to access a product by its handle. This returns the product object for the specified product. If the product isn't found, then empty is returned.

{{ all_products['love-potion'].title }}

Output

Love Potion
Was this section helpful?