request: add collection ids array to Product properties

Shopify Partner
174 0 26

Hello,

Available Product properties include id:

https://help.shopify.com/api/tutorials/shopify-scripts#product

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)

https://help.shopify.com/themes/liquid/objects/product#product-collections

Thanks

Streamline your shop and sell more http://www.suppleApps.com
1 Like
Highlighted
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.

Thanks

2 Likes