Your question is a bit light on the details, but I'll try to point you in some directions, and hopefully it will help.
Looks like you are on a Stores product page and you want to know what collections the current item belongs to. To do so, you can use the getProduct()
function to get the ID of the current product. Then, you can query the Stores/Products
database collection to get the stores collections that the item belongs to.
From there, you can use the $w()
API to hide/show or change the text of headings you want to show.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…