{% hint style="warning" %} These Shopify REST-backed Liquid objects are legacy. The product and variant Liquid objects no longer work, and Shopify is phasing out the REST Admin API that these objects depend on. Use GraphQL for new work; see the Shopify REST Admin API notice and migration guides. {% endhint %}
- Look up specific a specific asset by its ID, using
{{ shop.themes[12345].assets[67890] }} - Loop through all assets in a theme:
{% for asset in shop.themes[12345]assets %}