hello, I hope you doing well. Could you please able to send Website Url and do me correct, Do you want to Hide price and Shopping cart icon for now ? Is that correct ?
if you want to hide this permanently i can give you quick code, but if you want to create an option enable / disable then provide me the collaborator code to do some Json code in schema to make it functional so we can enable the price and cart in future as well.
I just need to think about the 2 options you have given me. I haven’t updated my dawn theme because I’ve had other people help me with code snippets. I’m worried that if go with any of you help i might lose it from an update.
No, any charge, Just to add the code i gave you. And if you can provide me collab… access code i can create 2 options seprate for price and cart icons to enable and disable globaly any time. Hope you understand.
Hey @kirkcanada,
Thanks for bringing this Question to Shopify community. In order to do the requested changes requires to do the custom code. Would you like to share the 4 digits collab code in the p/m so that I can take a look and provide you the solution code regarding the theme update and removing the price along with quantity button.
Waiting to hear back from you.
Thanks
I think I understand. You explain things very well, even for a beginner like me. If i put that code in would you be able to still add that global functionality? How would i turn it off and on?
If you’re only using your Shopify site for informational purposes right now, you can hide prices and remove the cart icon without fully uninstalling your e-commerce setup.
1. Hide product pricing
You can do this by editing your theme code:
Go to Online Store → Themes → Actions → Edit code.
In the product and collection template files (main-product.liquid and card-product.liquid), locate the code that outputs the product price (usually {% render 'price' ... %}) and comment it out or remove it.
2. Remove the shopping cart icon
In Edit code, open your header file (often header.liquid).
Locate the cart icon code (look for icon-cart or a link to /cart) and comment/remove it.
3. Alternative — Use “Password Page”
If you want to keep things simpler, you could switch to password-protected mode in Online Store → Preferences, which hides store features from the public until you’re ready to sell.
When you’re ready to turn e-commerce back on, you can simply re-enable the code you removed or restore your original theme files.
If you don’t mind, we can connect — I can walk you through these steps in detail so you won’t accidentally break your theme layout. @kirkcanada
I will create a schema settings as we can see in theme there are so many settings in all Shopify theme to use the Shopify store customizable, I will create a Checkbox for both price and for Cart as well. Let me show you what is that.
Amazing, I just saw you successfully removed these both. And show again to remove the code.If you want option to enable disable i will be here to help you.
Thanks.
Wow what a great response! I really appreciate you taking the time out to help me. I think I’m going to try the base.css snippet and see how it works. Can I get back to you if things don’t work out in the long run?
That is very professional way to show and hide anything in wbsite, by the way, Custom code changes (Liquid, CSS, JavaScript) that you make directly in the theme files will be overwritten.
Schema settings (checkboxes, fields you add in the schema section) will also be removed, because they are stored inside the theme’s .liquid files.
Only Theme Editor content (such as section content, images, and text you add in the Customize tab) is saved in Shopify’s database, so that stays safe but if the file that displays it is deleted or changed, that content may no longer be visible.
Thank you for taking the time to reply to my post. I appreciate your input. I’m going to try the base.css snippet suggestion first and see how that goes. Can I bug you later if things don’t work out?
Remember: Do not remove any snippet or file from the code.
Just add your short code and make a note of where you placed it, so that in the future you can easily restore or display it again if needed.
Thank you.