While coding options for this are outside my scope of support, I thought I’d mention you can use an app from the app store to accomplish this. This will allow you to toggle on and off this feature as often as you like. Some options are:
You can have a look at other options on the app store by searching “hide price”. Otherwise, hopefully another Community user will comment here on how you can achieve this through custom coding. You can always hire a Shopify Expert for custom coding as well.
I did see those, but my client is looking for a no-cost option as they get launched, and I’ve exhausted the “search” option, but that’s why I mentioned “easy code”. All of the others didn’t seem to be working with my theme’s existing code. I appreciate your reply!!
Well if you are using an OS 2.0 theme, this is very easy. Just go to theme customization and create a new template and apply to these products, and just remove the price section.
If you’re using the older version of themes, go to theme codes, create a new product template, copy the normal template codes in this one and remove the section that shows the price. (I can’t really tell you where it is since it’s different for every theme) But it should be very easy to find
@Ardi94 It should be easy to find, but it’s not. I’ve already tried that route and I get stuck because part of the code I’m looking for is simply nonexistent.
@samantham So I’m assuming it’s a vintage theme, not OS 2.0, right? Are you using a free theme from Shopify? What’s it called? I can take a look at the original codes and tell you where it is.
Also, if you post your URL here I might be able to tell you what to search for in your codes.
me and a tech friend are trying to update my site and need to remove the price on a couple retail items. But we are struggling to make it happen. Your help above is amazing and I’m not sure what the dead end we keep getting is. Was wondering if we can chat for help directly
i want the price to not show for products that have “0” as the prize, and the price should be hidden everywhere- collection, product page, cart, checkout. In which places should i be adding the code? will this code enough for that?
Hi, did you ever get this to work, i.e., hide the page on the product, collection, cart, checkout, etc.? The code snippet above doesn’t seem to work for any page but the product page?
go to your theme
edit code
search for: card-product.liquid
replace the line code:
{% render ‘price’, product: card_product, price_class: ‘’, show_compare_at_price: true %}
by this code(show price only if product available and equal or more than 1 dollar):
{%- if card_product.available -%}
{%- if card_product.available and card_product.price >= 1.00 -%}
Hi @samantham you can try the Extendons Hide Price app with the free trial version. The Hide Price app is an easy way to hide prices on specific products and collection pages. It’s easy to integrate with both free and paid themes
This worked for me but I had to add an additional {%- endif -%}
However, I encountered an issue with the code where, if an item sold out, the price for that item would no longer be shown—even on products where I wanted the price to always be displayed.
I fixed this by removing the
{%- if card_product.available -%}
{%- if card_product.available and card_product.price >= 1.00 -%}
The “your-product-handle” is specific to the product that you want to hide the price on. It can be found by visiting the specific product page that you want to hide the from on and copying the end of the url.
If you want to hide multiple products the code will look like this instead:
{%- if card_product.handle != “product-handle-1” and card_product.handle != “product-handle-2” and card_product.handle != “product-handle-3” -%}
Yes, there are a couple of ways to hide prices on specific products, depending on your comfort level with theme customization.
Option 1: No-Code (Using an App)
If you prefer a no-code solution, there are Shopify apps designed for this exact purpose. A few solid options include:
“Hide Price & Add to Quote” by Singleton software
“Request a Quote & Hide Price” by Omega
These apps allow you to hide prices on selected products and replace the Add to Cart button with a “Request a Quote” form—ideal for weight/distance-based pricing.
Option 2: Simple Code Approach (Theme Edit)
If you’d prefer a light customization, here’s a straightforward method:
Tag the products you want to hide prices on with hide-price.
Then, in your theme’s product template file (typically main-product.liquid or product.liquid), find the section where the price is rendered—usually something like this: