How can I remove pricing from only one collection in the Streamline theme?

Topic summary

Goal: hide pricing and purchasing only for certain artworks in the Shopify Streamline theme.

  • Initial need: remove price for one collection. Store URL and a screenshot were shared. A JavaScript snippet (to be placed in theme.liquid under ) was proposed to hide prices based on a collection URL.
  • Result: partially works; when a product is opened, the price shows as zero, so purchase is still implied on the product page.

Refined requirement:

  • Any product tagged “GALLERY” should hide price and the add-to-cart button everywhere (collection and product pages), regardless of collection. These items should direct buyers to external gallery sites instead.

Developer response:

  • Feasible via JavaScript, either by detecting tags or specific collection URLs, but needs confirmation of where the “GALLERY” tag is visible on collection/product pages (DOM) to target reliably.
  • Notes limits of free help and offers paid implementation.

Status and next steps:

  • Unresolved; moving toward a paid engagement. The user requested pricing.
  • Open items: confirm tag exposure in the HTML, provide robust code to hide price and cart for tagged items, prevent “$0” display, and add external purchase links.

Note: Screenshots were shared to show where to insert code and site context.

Summarized with AI on December 27. AI used: gpt-5.

I have found answers that seem to apply to other themes. However, when I go to implement them in the Streamline theme, the files and templates are very different. Can anyone help me to accomplish this in the Streamline theme? I only want to hide the pricing in one collection. Thank you!

Hi!

Honestly, hiding the price of a specific product in Shopify without custom code can be challenging. If you can provide the website name and a screenshot of the relevant area, I can assist you further.

Terence

https://serenafineart.com/

I would like only one collection of paintings to not show prices - these are paintings that I have in other Galleries and I link to those galleries if someone wants to purchase - I need to make it impossible to purchase them from my site, however I want people to see them and be able to purchase them from the Gallery that is representing me. The rest of my paintings will still be sold through my site - which is why I only want one collection to not show pricing. I am open to other work around ideas as well. Thanks!

Hi again,

I believe the following JavaScript code should do the trick. If the URL is incorrect, you can make the necessary changes within the code. Additionally, we can further customize your website using different approaches.

Please let me know if you encounter any issues with the provided code.

Terence…

  1. Navigate to the ‘Edit Code’ option in your theme settings, then search for ‘theme.liquid’ in the search bar.

  2. Paste the following code below the ‘’ tag. Please refer to the attached screenshot for guidance.


Thank you for your response! This partially worked however when I clicked on the product it then still showed the price as zero.

Let me explain further what I am looking to do, and send you the page and see if there is a further work-around.

I am an artist who paints landscape paintings. I would like all of my available landscapes to show up together on one page in my shop “Landscape paintings”. However, some of my paintings are temporarily in another gallery and the customer would need to visit the gallery’s site to purchase the painting from them - so I want those paintings (or products tagged with “GALLERY”) to show no price since I don’t want them to be able to add to cart on my site. I believe that I may need a code for any product with a certain tag such as “GALLERY” to show no price - so that it doesn’t matter which collection it is in - no price will show up even if clicked on. Is there a bit of code that could be that specific?

https://serenafineart.com/collections/landscape-and-nature-paintings

You are welcome,

What you’re talking about can indeed be done with JavaScript code. It’s not a straightforward task.

As far as I understand, only those with the ‘GALLERY’ tag will have their prices and ‘add to cart’ button hidden. So, where is this ‘gallery’ tag located? Does it appear on the ‘collection’ page and the product page? We need to see this somehow.

Moreover, we can achieve this with JavaScript both based on tags and specific ‘collection’ URLs, and then hide it on the product page.

First of all, please don’t get me wrong. The assistance provided here is generally superficial and free. Frankly, whenever I have spare time from my own software and Shopify support services, I try to help with simple issues.

I don’t think there are many others who provide detailed assistance for free. You can still look for help in different places.

We can definitely do this for you. This could fall under the scope of a special service we offer to many of our clients here. I could provide much more detail, but the decision is yours. I hope there’s no misunderstanding. :folded_hands:

Thank you, yes of course I understand. how much would this cost?

Thanks!