Shopify / liquid

Liquid markup language. Safe, customer facing template language for flexible web apps.
https://shopify.github.io/liquid/
MIT License
11.13k stars 1.39k forks source link

product.collections stopped listing all collections #947

Open mariusa opened 7 years ago

mariusa commented 7 years ago

We're using this property https://help.shopify.com/themes/liquid/objects/product#product-collections

which used to work fine until a week ago. It doesn't work anymore properly on 2 stores, but works on others.

store1:

This product is part of more than 10 collections, set at visibile in store. https://diamond-pride.myshopify.com/admin/products/12141012228

Please preview the Blank theme, it has ONLY this code, to avoid any doubt: https://diamond-pride.myshopify.com/admin/themes/205389828?key=templates/product.liquid

product.title {{product.title}}
<br><br>

{% for collection in product.collections %}

collection {{ collection.title }} 
<br>

{% endfor %}

It shows only 2 collections, instead of 10+: https://www.diamond-pride.com/products/russell-premium-ladies-t-shirt-stuttgart-reds-softball-heather-grey

store 2: https://lakukan.myshopify.com/admin/products/11896568725 is part of multiple collections, all visible in the online store.

https://www.artsalwa.com/products/dua-when-leaving-washroom-polkadots

Please preview the Blank theme: https://lakukan.myshopify.com/admin/themes/189759509?key=templates/product.liquid

View that product in store: https://www.artsalwa.com/products/dua-when-leaving-washroom-polkadots

it shows NO collections

Expected: list of all collections the product is part of, attached

Shopify support and themes@shopify don't want to look at this report, directed to forums instead.

mariusa commented 7 years ago

screenshot from 2017-10-27 16-09-15 screenshot from 2017-10-27 16-14-14 screenshot from 2017-10-27 16-27-43 screenshot from 2017-10-27 16-27-52