I have a little problem with liquid code, I hope someone can help me find the solution ! (Sorry for my english)
I duplicated a collection and removed the products already sold in the new one.
I now have two collections named in this way:
Collection1: with products in stock and products already sold
Collections1-available: with only products in stock
I would like to display a button in my collections only if the “-available” version of the current collection exists.
Would it be possible to create something like this :
If “CurentCollectionName + available” exist, show this button ?