Disable add to cart buy/now buttons

I’ve always been able to get great help from the community and I want to say thanks again to all those that have taken the time out to advise me with my previous issues.

I’ve got help turning off the shopping cart basket on my main navigation bar.

I’ve been going through my site and I just realized that the add to cart buttons and buy now are showing up on all of the pages. If you click on the add to cart, you get a notice that it’s been added.

Is there anyway to remove those buttons?

Hello @kirkcanada

Can you share the site URL and password protected if have

Please go to your store admin > navigate to Sales channels > Online store > Themes > click Customize > click on Homepage at the top center, Products > Default product, click toggle Product information under Template on the left, hover on Buy buttons, click on the delete icon or eye icon to remove or hide those buttons.

Hi @kirkcanada,

Kindly provide your store URL please and if it is password protected, please share the password as well.

Thanks!

Hey @kirkcanada

Follow these Steps:

  1. Go to Online Store
  2. Edit Code
  3. Find theme.liquid file
  4. Add the following code in the bottom of the file above </ body> tag
<style>
.product__info-container .product-form {
    display: none !important;
}
</style>

RESULT:

If I managed to help you then a Like would be truly appreciated.

Best,
Moeed

Thank you all for your responses. I’ve been out of town for the last week and haven’t had a chance to go through your kind and helpful responses.

I will update you as soon as possible!

Dan.

I found your suggestion to work, but I had to go to each product page and disabled the buttons. I think your solution is a safe option because I’m concerned that when I update my theme all the code snippets may not work.

Thanks for your help.

pw cheese

Thank you so much for your help. I haven’t updated my theme because I’ve been using a lot of code snippets and I’m concerned that any update will cancel them.

Do you know how to disable the add quantity button? I think it will confuse people if they see it.

pw cheese