Hi Dan,
Hope you’re doing well.
In order to hide the price on a specific collection in liquid different theme might require different solutions.
I will do an example with the debut theme.
In the Debut theme there is a product-card-grid and a product-card-list snippet depending on the way you chose to display your products.
For the sake of this example we will demonstrate how to do the fix on the product-card-grid.liquid file.
When you look at the code in the file you can see this at the bottom of the file:
{{ product.title }}
{% include 'product-price-listing', product: product, show_vendor: show_vendor %}
We can see that the product-price-listing responsible for the display of the products price.
Hence, removing it would remove the price.
BUT, doing so would remove the price for all of the collections and we want to remove it only for one!
So we can add an if statement verifying if the collection IS NOT the one we want to remove the prices from.
In my example i took the frontpage collection.
Replace the “frontpage” by the handle of your collection in the code below and it should work fine!
Here is the solution:
{{ product.title }}
{% if collection.handle != 'frontpage' %}
{% include 'product-price-listing', product: product, show_vendor: show_vendor %}
{% endif %}
Now the price will only display for products from collections that are NOT from the frontpage.
Don’t forget, it WILL still display in the product page
Hope this helps!