Hide price from specific Collection.

Hi there!

I am having trouble hiding the pricing from a specific collection template using the Empire theme. Can anybody assist?

1 Like

@buchanan Hi

I found a hiding price same issue like you but using dawn theme. Can you try it first?

Feel free to send a DM to me if need any other assistance

Hi @buchanan , Can you kindly share your store link (with the password protected, if any) with us? We will check it and suggest you a solution if possible.

Sure. the site is www.qebs.com.au

I have created a collection template calling ‘flooring-hide-price’ that I was planning to apply the the relevant collections.

1 Like

Hi @buchanan , i can’t find this collection

Hi there.

I have applied the collection template to the collection called Vinyl Plank

1 Like

Hi @buchanan ,

Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above tag:

{% assign full_url = request.host | append: request.path %}
{% if full_url contains 'vinyl-plank' %}

{% endif %}

Here is result:

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you :heart_eyes:

Amazing. Thank you!

1 Like

@buchanan , No problem. Have a good day :heart_eyes:

Is it possible to do this for a specific collection?

For my default collection I want to show prices, but I have some other collections of items that are not for sale and I don’t want to show a price. You can see an example here: https://new.alittlehillfarm.com/collections/buck

Thanks!

Replying to myself - after re-reading and getting a better understanding of the instructions provided in the solution here I was able to fix it for my site.

1 Like