When accessing the products object, there's the collections array where it shows all the collections where the product is in. Within each collection object, I see a rules field that has the condition(s) which the collection is using to filter the products. I can't seem to access that 'rules' field through liquid, it returns as null. Anyone with some idea why I can't / what I can do to access the conditions where the collections are using? Thanks!
Hi kevinyeh, could you post some screenshots? I don't see a rules attribute in the collections object. (https://help.shopify.com/en/themes/liquid/objects/collection).