Jump to content

How can I Replace "Prev / Next" with another text on the Shop Page?

Recommended Posts

  • Replies 6
  • Views 461
  • Created
  • Last Reply
Posted

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() {  
		$(".ProductItem-nav-pagination *").html(function() { 
          return $(this).html().replace("Previous", "new previous");  
    });
	$(".ProductItem-nav-pagination *").html(function() { 
          return $(this).html().replace("Next", "new next");  
    });
	});
</script>

 

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!)

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.