Mechanic
Ask or search…
K

Collection object

How to access it

  • Use {{ collection }} in tasks responding to shopify/collections events
  • Look up specific collections by their ID, using {{ shop.collections[1234567890] }}
  • Locate it in the array of product collections, using {{ products.collections[0] }}, in tasks responding to shopify/products events

What it contains