Solved

How to hide price, add to cart, buy buttons in one collection?

Alogem
Visitor
3 0 0

Hi. I am new to Shopify, liking it so far.

My store has two collections. In one collection we will be selling coffee pods online and everything works fine with it.

The second collection are machines that are not sold online so I wanted to get rid of the price, add to cart and buy buttons on the product page. I was referred yesterday to this article...
https://shopify.dev/tutorials/customize-theme-replace-add-to-cart-button#hide-the-add-to-cart-button

I created a new product-template.liquid page for this collection. Everything works fine if I just comment out the price, the menu still functions, but I want the add to cart and buy buttons gone as well. As soon as I comment them out, part of the menu doesn't work anymore. The Home, About Us and Contact Us work fine but the Products >> Espresso Pods >> Commercial Machines stops working on that page.

I have tried 5 or 6 ways to comment out the buttons but the same result.

I'm wondering if I'll have to use a different theme, but I've put in hours on this site already so would like to get this working with the Debut theme if I can.

Any help would be much appreciated.

store: https://smooth-premium-coffee.myshopify.com/
password: coffee
Theme: Debut

Accepted Solution (1)
JHKCreate
Shopify Expert
3571 639 916

This is an accepted solution.

All Good!

Added the following code to run just on this template hiding the purchase buttons:

<style>
  .product-form__controls-group.product-form__controls-group--submit {
    display: none;
}
</style>


Menu also still works! 

Did we solve your issue? Like & Mark As Solution to help the community
Should you need any direct help: contact@jhkcreate.com

Learn more about us: jhkcreate.com

View solution in original post

Replies 32 (32)

JHKCreate
Shopify Expert
3571 639 916

Hi @Alogem !

Easy enough, if you don't mind accepting a Collaborator access we can have this done in a few minutes. 

Let me know. Cheers!

Did we solve your issue? Like & Mark As Solution to help the community
Should you need any direct help: contact@jhkcreate.com

Learn more about us: jhkcreate.com
Alogem
Visitor
3 0 0

That's sound great. Like I said, I'm new to Shopify so I'm not sure how to give you  Collaborator access. Please let me know.

JHKCreate
Shopify Expert
3571 639 916

Sent you a request, please follow the steps you received in the E-Mail. Cheers!

Did we solve your issue? Like & Mark As Solution to help the community
Should you need any direct help: contact@jhkcreate.com

Learn more about us: jhkcreate.com
JHKCreate
Shopify Expert
3571 639 916

This is an accepted solution.

All Good!

Added the following code to run just on this template hiding the purchase buttons:

<style>
  .product-form__controls-group.product-form__controls-group--submit {
    display: none;
}
</style>


Menu also still works! 

Did we solve your issue? Like & Mark As Solution to help the community
Should you need any direct help: contact@jhkcreate.com

Learn more about us: jhkcreate.com
Alogem
Visitor
3 0 0

Thank you! Very much appreciated...

JHKCreate
Shopify Expert
3571 639 916

Should you need anything else please feel free to reach out by DM or E-Mail. Will be revoking my access now, thanks!

Did we solve your issue? Like & Mark As Solution to help the community
Should you need any direct help: contact@jhkcreate.com

Learn more about us: jhkcreate.com
PilarRubio
Tourist
5 0 1

Hello, my store is in Streamline Theme and I have 3 products on my collection page that I want to display yet I am not currently selling them. How do I hide the price tag? It currently shows 0 and I just want to show the product without the price of 0 being shown. I hope you can help me!

JHKCreate
Shopify Expert
3571 639 916

Hi @PilarRubio ,

Would you mind sharing your store's URL please?

Did we solve your issue? Like & Mark As Solution to help the community
Should you need any direct help: contact@jhkcreate.com

Learn more about us: jhkcreate.com
PilarRubio
Tourist
5 0 1
JHKCreate
Shopify Expert
3571 639 916

@PilarRubio since it's only for a few products you would need some custom coding to be done. I'm sending a collaborator request to assist on that should that be ok. Let me know!

Did we solve your issue? Like & Mark As Solution to help the community
Should you need any direct help: contact@jhkcreate.com

Learn more about us: jhkcreate.com
PilarRubio
Tourist
5 0 1

Hi, how do I allow you to help? Apologies Im a bit confused!

JHKCreate
Shopify Expert
3571 639 916

I'll send an Email request now 🙂

Did we solve your issue? Like & Mark As Solution to help the community
Should you need any direct help: contact@jhkcreate.com

Learn more about us: jhkcreate.com
PilarRubio
Tourist
5 0 1

Great thank you, I have given you access; its the three products (ARMOURS) which are currently showing a price tag of 0 that I want to hide the price and keep the products on display. Let me know when done, thank you so much!

JHKCreate
Shopify Expert
3571 639 916

All Good! 

Don't forget to Mark As Solution & Like to make the answer more visible to the community, Cheers!

Did we solve your issue? Like & Mark As Solution to help the community
Should you need any direct help: contact@jhkcreate.com

Learn more about us: jhkcreate.com
PilarRubio
Tourist
5 0 1

Thank you so much!! Will do

Geraldine123
New Member
5 0 0

Hi, Would you be able to assist me in  hiding price, add to cart, buy buttons in one collection? I have been trying for a while and cant figure out ?

Geraldine123
New Member
5 0 0

@JHKCreate  Thanks

JHKCreate
Shopify Expert
3571 639 916

Hi @Geraldine123 !

How can we help? Would you mind sharing your store's URL so we can provide the solution?

Did we solve your issue? Like & Mark As Solution to help the community
Should you need any direct help: contact@jhkcreate.com

Learn more about us: jhkcreate.com
Geraldine123
New Member
5 0 0
JHKCreate
Shopify Expert
3571 639 916

@Geraldine123 what is the store's password?

Did we solve your issue? Like & Mark As Solution to help the community
Should you need any direct help: contact@jhkcreate.com

Learn more about us: jhkcreate.com
Geraldine123
New Member
5 0 0

@JHKCreate  Curtains123

Geraldine123
New Member
5 0 0

Hey @JHKCreate  did that password work ?

robertjohn17
Excursionist
19 0 6

hi i am looking to hide some of my products prices but not all of them i cant seem to find the right coding for it. can you help please?

JHKCreate
Shopify Expert
3571 639 916

Hi @robertjohn17 

What theme are you using? We can add the code for you based on tags, if product is tagged with hide_price  then the price won't appear. Does this work for you?

Did we solve your issue? Like & Mark As Solution to help the community
Should you need any direct help: contact@jhkcreate.com

Learn more about us: jhkcreate.com
robertjohn17
Excursionist
19 0 6

Hi I'm using the debut theme. i want it to hide the prices all throughout the store and on product page.

Alexmeba
Visitor
1 0 0

Hi! I have the same problem as @PilarRubio with the same theme (Streamline) We want to hide the price of the featured collection grid and product grid. Could you help us? 

nonchbeauty
Visitor
1 0 0

Could you please help me out? 

info@nonchbeauty.com

irshadsaif90
Visitor
1 0 0

Need a collaboration in order to resolve the mnetioned issue.

wearegoatmedia
Visitor
2 0 1

Hello, wondering if you could please also assist me in making the same adjustments to my clients store - she would like to only have products in one specific collection not show price or add to cart and instead replace add to cart with POA which links to her contact page.

Meghan5
Tourist
3 0 1

Hi, I'm hoping someone can help me to hide the price on some classes we are offering that we have listed as products but as they are free we don't want a price (£0.00) to appear.

Thanks so much!

Meghan

JHKCreate
Shopify Expert
3571 639 916

Hi @Meghan5

Would you mind privately sharing your store's URL so we can have a look at this? 

Did we solve your issue? Like & Mark As Solution to help the community
Should you need any direct help: contact@jhkcreate.com

Learn more about us: jhkcreate.com
Meghan5
Tourist
3 0 1

Hi @, I've emailed you the URL - thanks.