Hide prices of products in a specific collection

Highlighted
Tourist
10 0 1

Hi!

I know this topic has been already discussed but I can’t figure out how to do this in the Venture template.

I need your help to solve how to hide price products only for this specific Collection: https://ducatilima.com/collections/motos

As you can see, I have solved how to hide all prices on all collections but not just in a specific one.

Thanks!

0 Likes
Highlighted

Hi @Tungsteno 

You will need to use backend coding to achieve this

Essentially,

if collection.title == the collection you want to hide.

Dont show price

else

show the default code for pricing

If my answer was helpful please Like and Accept my post as the Solution
Need help customizing your store? Contact me on email at Defineify@gmail.com
0 Likes
Highlighted
Tourist
10 0 1

@Defineify thanks for your quick answer! Yes, I know I need to edit the code, but I need more help with that; writing and in which liquid file to put it.

I just solved by myself hiding all prices in the product-card-template using %comment and %endcomment

0 Likes
Highlighted

Hi @Tungsteno 

comment out wont help you, didn't you say you wanted to hide some collections not all? if it was hiding all collections thats easier, but some collections thats different.

If my answer was helpful please Like and Accept my post as the Solution
Need help customizing your store? Contact me on email at Defineify@gmail.com
0 Likes
Highlighted
Tourist
10 0 1

Yes, I need to hide prices from products on a specific collection

0 Likes