How to remove the 'Add to cart' button from my webpage?

How to remove the 'Add to cart' button from my webpage?

LeticiaIb
Excursionist
23 0 4

Hello, I would like to hide or delete the "Add to cart" button, as I only need the "buy" button.

My web page: https://leticiaiborra.com/

Replies 4 (4)

PageFly-Kate
Shopify Partner
1256 356 383

Hi @LeticiaIb ,

This is Kate from PageFly. May i ask do you want to delete the "Add to cart" button on this section?

PageFlyKate_0-1701673202217.png

 

 

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 
➜ Weekly updated Shopify tutorials on YouTube 


All features are available from Free plan. Live Chat Support is available 24/7.

LeticiaIb
Excursionist
23 0 4

Yes, I want to delete it on every Product Page and Featured products aswell, please. I do not need at all

PageFly-Kate
Shopify Partner
1256 356 383

Hi @LeticiaIb ,

You can try by adding this code:

Go to Theme editor >customize > Homepage > Adding this code:

.product-form__buttons{
display:none
}

Like this: 

PageFlyKate_0-1701673869329.png

Please check and let me know if it works for you.

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 
➜ Weekly updated Shopify tutorials on YouTube 


All features are available from Free plan. Live Chat Support is available 24/7.

sahilsharma9515
Shopify Partner
1171 148 225

Hi @LeticiaIb Please add the code in your theme.css/base.css/style.css/index.css file which is available in your theme.

 

button#ProductSubmitButton-template--18574841970977__56917101-6f8f-459d-9cf1-904d16641cbe {
    display: none;
}
button#ProductSubmitButton-template--21500587770145__main {
    display: none;
}

 

If you are not sure where is your theme.css/base.css/index.css/style.css file please follow the steps:

  1. Login in shopify admin.
  2. Click on the Online Store.
  3. Then click on the button next to Customize in live Theme.
  4. Click Edit Code.
  5. Search theme.css/base.css/index.css/style.css in the code in left hand side which ever is available in your theme.
  6. You can add the above code at the bottom of the file.

Result:

sahilsharma9515_0-1701673677473.png

sahilsharma9515_0-1701673885704.png

 

If you will unable to implement the same then I'm happy to do this for you, let me know. I can implement the code changes so that this will work well for you.

 

Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

 

Best Regards

Sahil

- Your

 Coffee Tip 

can create magic in coding ❤️❤️

- Need a Shopify Developer? CHAT ON WHATSAPP or EMAIL ME !


- Hopefully the solution will help you. If yes then Please hit

 Like 

and

 Mark it as solution! ❤️