I’m looking for assistance with my Shopify store. I have created a theme to hide the price of certain products in our store. The theme works however, for the certain product in question, the price still shows in the quick view section where the item is featured with other items in the same catergory. How do I hide the price?
I’m not familiar with coding and would appreciate any guidance or code snippets that could help me achieve this.
I thought you applied the logic in the product page on your own.
Well if you are not sure how to do it you can provide me access and I’ll do it. Actually providing instructions to do it without checking the theme code is not possible.
You can find my contact info in the signature below.
hey @ChristinaBieri dear follow these steps
Go to online store ----> themes ----> go to three Dots ----> edit code ---->find theme.liquid files ----> place the code ---->before the ----->
before the body ----->
if this code work please do not forget to like and mark it solution
To hide the price of specific products, add a “hide-price” tag to those products in Shopify Admin. Then, in Edit code, locate the price.liquid file in the Snippets folder and replace its code with the provided version. Before making changes, back up the original price.liquid code . Refer to the attached code for the replacement. Test in a duplicated theme and check the reference image in the attachment for guidance.
You’re actually very close — hiding the price on the product page means your logic is correct, you just need to extend the same condition into the collection grid item.
Each Shopify theme handles the collection card differently, so copying product-page code directly usually won’t work.
You normally have to update one of these files depending on your theme:
snippets/price.liquid
snippets/card-product.liquid
snippets/product-grid-item.liquid
or the price block inside sections/main-collection-product-grid.liquid
A safe approach is:
Tag the product with something like hide-price in Shopify Admin.
Inside the snippet where the collection-grid price is rendered, wrap the price output in a condition:
Replace it with “Call to order” or leave it empty for the hidden products.
Because every theme structures this differently, the exact placement matters — so if you’re not comfortable editing Liquid files, it might be easier to use an app built for hide-price / B2B-style catalog behavior.
For example, some merchants use hide-price apps so they don’t have to manually edit each template when themes update.
But if you prefer to continue custom coding it, let me know and I can point you to the exact file once you share your theme name (Dawn, Refresh, Prestige, etc.).
You’re on the right track — you just need to hide the price in the grid the same way you already did on the product page.