request: add collection ids array to Product properties

Shopify Partner
174 0 28


Available Product properties include id:

Please add an array of product collection ids too, similar to product.collections which is already available in liquid (we'd need only id though, not entire collection info)


Streamline your shop and sell more
Shopify Staff
Shopify Staff
81 0 11

Hey Marius,

This is unlikely to happen any time soon because collections are unrestricted. A single product could be in enough collections to exhaust the memory limit of the VM. We're looking into ways to allow script authors to specify which collections they're interested in.