Jump to content

How to remove a button on some product items

Go to solution Solved by NicholeAllder,

Recommended Posts


I'm doing some amends to a site. The programmer created an extra button with a form attached on a couple of products.


and https://growthcollective.com.au/purchase-programs/p/emerging-leader

The client has created some new products but needs the second button 'Request an Invoice' removed on these pages. 




I believe this is the code to create the second button, but can't seem to customise it to only show on the first 2 pages.



Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

This is also in the advanced area heading...

<!--second shopping button attempt-->

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>


   $(function() {

     $("<a class='checkoutbutton' href='/request-an-invoice/'>Request an Invoice</a>").insertAfter(".sqs-add-to-cart-button-wrapper");        



Link to comment

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.