🚫Theme object
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.
How to access it
Use
{{ theme }}in tasks responding to shopify/themes eventsLook up specific themes by their ID, using
{{ shop.themes[12345678900] }}Loop through all themes:
{% for theme in shop.themes %}
What it contains
An array of asset objects:
{{ theme.assets }}
Last updated
Was this helpful?