Mechanic
Ask or search…
K

Theme object

How to access it

  • Use {{ theme }} in tasks responding to shopify/themes events
  • Look up specific themes by their ID, using {{ shop.themes[12345678900] }}
  • Loop through all themes: {% for theme in shop.themes %}

What it contains