Shopify themes, liquid, logos, and UX
Hello! I am trying to hide my "add to cart" button on my products. They are both under a dynamic button.
I've tried messing around a little bit with editing the code but i'm not exactly sure where I need to be to remove.
I am trying to keep the "buy now" button and only remove the "add to cart". I also will need to make the "buy it now" white instead of black.
Thanks!
Solved! Go to the solution
This is an accepted solution.
Thank you for the information. You can try this code.
button#ProductSubmitButton-template--18810342834449__main {
display: none;
}
button.shopify-payment-button__button.shopify-payment-button__button--unbranded.BUz42FHpSPncCPJ4Pr_f.jjzYeefyWpPZLH9pIgyw.RWJ0IfBjxIhflh4AIrUw {
background: white;
color: black;
}
Result:
I hope it help.
Hi @juliadenniston ,
Would you mind to share the URL store (with password)?
Thanks!
This is an accepted solution.
Thank you for the information. You can try this code.
button#ProductSubmitButton-template--18810342834449__main {
display: none;
}
button.shopify-payment-button__button.shopify-payment-button__button--unbranded.BUz42FHpSPncCPJ4Pr_f.jjzYeefyWpPZLH9pIgyw.RWJ0IfBjxIhflh4AIrUw {
background: white;
color: black;
}
Result:
I hope it help.
Hi Rose,
Those files are not in the new 2.0 themes. However, I was able to add this code to the "base.css" file and it worked! Thank you so much!!
Thats good! Yeah, you must put in the file with the end of .css every theme have different name. But also you can use the theme.liquid.css but this file is good for header section.
I'm having a similar issue. Can you please share the screenshot where have you added the given code.
I tried this and it removed the buy it now and kept the add to cart. can you help?
Hi @Summar
It password protected.
Hello,
I tried so many options and I can't seem to get this to work on my Dawn theme.
We will never use the add to cart or checkout buttons on our store as we are using a Request a Quote app.
I just need that button gone...
Any assistance with this is much appreciated.
Doyle W.
I check your store i only see in your cleaners and sealers collections, which one you like to remove?
We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024