Shopify get current collection

9.6k views Asked by At

I am new to Shopify and learning it right now. I am on collection page, is there a way I can get current collection? For example, I have following collections

category 1
    Sub cat 1.1
    Sub cat 1.2
    Sub cat 1.3
category 2
    Sub cat 2.1
    Sub cat 2.2
    Sub cat 2.3
category 3
    Sub cat 3.1
    Sub cat 3.2
    Sub cat 3.3

Is there a way I can output this

CURRENT Category is: {{collection.name}}
1

There are 1 answers

0
Steph Sharp On BEST ANSWER

I think what you're looking for is {{ collection.title }}.

See the Shopify documentation for collection here.