Jump to content

Continue Shopping Button - Custom Code

Go to solution Solved by paul2009,

Recommended Posts

On 4/5/2021 at 1:04 AM, tuanphan said:

Add to Code Injection Header

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
$(document).ready(function() { 
		$('<a class="sqs-editable-button checkout-button t-continue" href="/tienda"><span>CONTINUAR COMPRANDO </span></a>').appendTo('._28MW26vhi.checkout');
	});
</script>
<style>
a.t-continue {
    margin-left: 10px;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}
</style>

 

This does not seem to work on a FIVE template site:

https://rbseminary.org/gift-store

Please advise.

Link to comment
On 10/20/2022 at 2:39 AM, vcRBS said:

This does not seem to work on a FIVE template site:

https://rbseminary.org/gift-store

Please advise.

Try this new code, to last line in Code Injection > Footer

<script>
$(document).ready(function() { 
		$('<a class="sqs-editable-button checkout-button t-continue" href="/tienda"><span>CONTINUAR COMPRANDO </span></a>').appendTo('._28MW26vhi.checkout');
	});
</script>
<style>
a.t-continue {
    margin-left: 10px;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}
</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

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.