Remove Price Tag from A Specificic Collection Template

How do I remove the price tag from a specific collection template? I am an artist and I want the gallery to be a place to view the art and I have a separate tab called “shop” where it can be purchased. I already removed the price tag from the product view as seen here:

Now I just want the price tag removed as shown here:

Is there a way to remove price tag to this specific template in the json code that way if I add more collections to this template in the future they will automatically have the price tags removed?

1 Like

Hello, Artess. Yes, there is. What theme are you using?

Hi @ARTess ,

I see you want the price to be removed in the Default Page. I would suggest using the custom liquid section. Please see the instructions below

  1. From you Admin page, go to Online store > Themes > Customize

  2. Go to the page you want to edit.

  3. Follow the instructions below


1 Like

Hi @ARTess,

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file base.css

Step 3: Paste the below code at bottom of the file → Save

slider-component .grid__item .price{display:none !important}

Hope my solution works perfectly for you!

Best regards,

Victor | PageFly

Dawn Theme

The only problem with your solution is I still need all of the price tags under the “shop” tab that you showed the edited picture of. I still want the price tags to show up on the other collections so I can sell my art products. The only collection I want the price tag removed from is my gallery collection template under my “gallery” tab. Thank you so much for your help!

Go to online store > themes > ‘…’ and click on edit code. There, click to ‘Add new template’, and create a collection template .json with whatever name you want. Then, go to ‘card-product.liquid’, search for {% render ‘price’, product: card_product, price_class: ‘’ %} on the code, and replace it with

{% unless template contains name %}
            {% render 'price', product: card_product, price_class: '' %}
  {% endunless %}

(replace ‘name’ with the name you set for your template)

Replace this code in both blaces it appears. Should work

Thank you so much! This is amazing! Worked great

1 Like

I’m glad I could help. If possible to like or mark as solution, I’d appreciate it

Thank you so much!