Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
I'm trying
all_products does have a limit of 20 unique handles per page. In this case you're not using it properly as it doesn't return a data set of products like that, but instead returns 1 product based on the handle you feed it.
eg:
{{ all_products['some-handle'].title }}
More info in the docs:
https://shopify.dev/api/liquid/objects#all_products
It's possible you would want to loop over a collection instead. Still keep in mind that looping over massive amounts of products can lead to performance issues so you can often be better off pulling that data in async.