Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
Uniqueleaf20

Coding needed to remove add-to-cart buttons and quantity

Question

I am currently trying to remove the add to cart button as well as the quantity option on my items listed on my website.I’ve done a lot of research looking for the proper coding to hide or remove these and I’m having trouble. Has anyone had experience with this?

Share this post


Link to post

6 answers to this question

Recommended Posts

  • 0

Add to Home > Design > Custom CSS

if the code doesn't work, can you share link to your site?

.product-quantity-input {
        display: none !important;
    }
.sqs-add-to-cart-button-wrapper {
    display: none;
}

 


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0

www.uniqueleafcbd.com is the site. 

 

Each page has an add-to-cart button as well as a quantity field. Because of the nature of our business (CBD Hemp) I added a button that say's "ORDER NOW" which will redirect the user to a page where they can check off what they want to purchase and it will be emailed to us directly. I did this because finding an payment processor for CBD is near impossible and once you do, the industry and laws change, and once again, crap out of luck. So, I am invoicing buyers from Square (it's unable to be linked to the website directly) for the time being and its' easier to have the checkbox page where they can email their orders... thus, the add-to-cart button being absolutely useless for the sake of utilizing square spaces set up. Make sense?! lol

 

Thanks for the help.. and am I placing code under: settings > advanced> code injection > paste?

Share this post


Link to post
  • 0
14 hours ago, Uniqueleaf20 said:

www.uniqueleafcbd.com is the site. 

 

Each page has an add-to-cart button as well as a quantity field. Because of the nature of our business (CBD Hemp) I added a button that say's "ORDER NOW" which will redirect the user to a page where they can check off what they want to purchase and it will be emailed to us directly. I did this because finding an payment processor for CBD is near impossible and once you do, the industry and laws change, and once again, crap out of luck. So, I am invoicing buyers from Square (it's unable to be linked to the website directly) for the time being and its' easier to have the checkbox page where they can email their orders... thus, the add-to-cart button being absolutely useless for the sake of utilizing square spaces set up. Make sense?! lol

 

Thanks for the help.. and am I placing code under: settings > advanced> code injection > paste?

To hide on Entire site, add to Design > Custom CSS

.product-quantity-input {
        display: none !important;
    }
.sqs-add-to-cart-button-wrapper {
    display: none;
}

To hide on One Page, add to Page Settings > Advanced > Header

<style>
  .product-quantity-input {
        display: none !important;
    }
.sqs-add-to-cart-button-wrapper {
    display: none;
}
</style>

 


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0
14 hours ago, Uniqueleaf20 said:

That is working for the quantity but the "add-to-cart" button still remains. I am pasting it into Design >Custom CSS

try 

display: none !important;

You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...