Jump to content

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

Recommended Posts

  • Replies 6
  • Views 2.5k
  • Created
  • Last Reply

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

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