How to access Collections Product: Position

kristenkmk
Shopify Partner
4 0 0

Not sure if this is the best board to post this, but I'm looking at the Liquid object reference and don't see a property for the product position of a product in a collection.  I know it exists or can be deduced but am having trouble thinking through the logic of that and wondering if someone has already figured this out. 

 

By product position, I am referring to if a collection has 12 products, the third product that appears in that list would have an index of 2 or position 3.  These positions are visible/accessible when I export smart collections with apps like Matrixify, but I'm not sure how to reference it in the API. 

 

Thank you!

  

Replies 0 (0)