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

Change text "Add to Cart" button


Clarilou

Question

Site URL: https://gecko-lettuce-sw56.squarespace.com

Hi, I am looking to change the add to cart button to add to bag - cannot work out how to do it on 7.1 . I can do it for each individual item but is there a way of making it universal on the site? Would also be great to change the width, currently set on 100% but would love wider, and also how to change the font style. Mostly just need to change the actual words 

Password - AMOAMOAMO

Thank you x

 

Link to post
  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Popular Posts

Add to Home > Settings > Advanced > Code Injection > Footer <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(doc

2 answers to this question

Recommended Posts

  • 0

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

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
  $(document).ready(function() {  
		$(".sqs-add-to-cart-button-inner").html(function() { 
          return $(this).html().replace("Add To Cart", "New text");  
    });
	});
</script>

 

Link to post
  • 0

I managed to change the add to cart button text, but still didn't figure out a way to change the  "adding" and "added!" animation text that appears after clicking the button. Any ideas on that? Thank you!

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