Jump to content

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

Recommended Posts

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

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

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

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

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
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;

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 1 month later...

Create an account or sign in to comment

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

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.