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

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


Uniqueleaf20

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?

Link to post
  • Answers 6
  • Created
  • Last Reply

Top Posters For This Question

6 answers to this question

Recommended Posts

  • 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?

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 detail answer. / How to Setup Password & Share URL

--- Happy New Year

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...