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

Change Add to Cart to "Request Swatch"



Site URL: https://lanternfish-lion-lr7x.squarespace.com/

Hi there,

I hid the quantity, price and add to cart buttons on my PDPs using this code:

.sqs-add-to-cart-button-wrapper {
display:none !important;

Now, I would like to add some copy and a button to every PDP, something like:

Copy: Request a swatch or a free quote
Button: Request a swatch
Button link: /contact page

How do I do this?

Edited by MiaMiaMia
forgot to mention i'd hidden product price as well
Link to post
  • Answers 15
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

15 answers to this question

Recommended Posts

  • 0

It will really help us if you share the site password with us so that we can view the site.


Hi, I'm Paul, founder of SF Digital, a specialist company helping Squarespace users by building the features that Squarespace didn't include.
Explore our range of Squarespace Extensions, including the Wishlist, and Datepicker Extension or book a Squarespace Expert for 1:1 help. Note that links in my posts may be affiliate links.

Link to post
  • 0

@tuanphan -- I'm not sure I understand the question. Each product should have a button with the same link. But each product is obviously on a different page. I want to add this button to all product pages. Let me know if that clarifies?

Link to post
  • 0
On 10/28/2020 at 11:59 PM, MiaMiaMia said:

No, they will all link to the same place @tuanphan

Add to Home > Settings > Advanced > Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
$(document).ready(function() { 
		$('footer.sections .button-block').insertAfter('h1.ProductItem-details-title');


You can send your question to my email to get detail answer. / How to Setup Password & Share URL 

-- Pour your heart into it

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