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

5 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;
}

 


COVID-19Free priority support for all users (29/03 - 30/04). You can tag me (@tuanphan) or send to my email.

With paid support, see here

How to Setup Password & Share URL

 

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>

 


COVID-19Free priority support for all users (29/03 - 30/04). You can tag me (@tuanphan) or send to my email.

With paid support, see here

How to Setup Password & Share URL

 

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