Jump to content

add link in shopping cart

Recommended Posts

  • Replies 16
  • Views 1.8k
  • Created
  • Last Reply

Hi @mlehmann06

I am not sure if this is exactly what you are trying to achieve but there is a Continue Shopping link that appears on the empty cart page. By default that link directs shoppers to the homepage but you can change the destination of that link so it links to any other page on your site, instead. Check this Squarespace help article for more specifics:

Customizing your checkout experience - Changing your Continue Shopping link

Link to comment
  • 1 month later...

I have the same question, is there a way to add a "Back to Shop" button underneath the "Checkout" button on the Shopping Cart page?

I managed to add this button with content blocks in each of my products, but I unfortunately don't know how to do that on the Shopping Cart page.

Or even something simpler as a "continue shopping" link underneath the "Checkout" button on the Shopping Cart page.

Thanks guys.

Website: https://www.thefoxandpheasant.com/takeaway

Link to comment
On 6/9/2020 at 3:24 AM, tchobe said:

I have the same question, is there a way to add a "Back to Shop" button underneath the "Checkout" button on the Shopping Cart page?

I managed to add this button with content blocks in each of my products, but I unfortunately don't know how to do that on the Shopping Cart page.

Or even something simpler as a "continue shopping" link underneath the "Checkout" button on the Shopping Cart page.

Thanks guys.

Website: https://www.thefoxandpheasant.com/takeaway

You can use JavaScript. Have you soved it yet? If not, we can take a look.

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
  • 3 weeks later...

Hi @srodrigues

I have a related question to your post on 4/30. I've adjusted the Continue Shopping link to redirect to my store rather than my homepage, but it doesn't seem to be working. On the backend it works, but on the live site it's still going to the homepage. Any thoughts on why this is happening?

Amanda

Link to comment
11 minutes ago, tuanphan said:

You want: add button under checkout? Can you share link to cart page?

Yes, that would be ideal! I sent you a private message with the link to the cart page 🙂

Thank you so much for all your help to the SquareSpace community!

Link to comment
On 6/27/2020 at 5:39 AM, SofiaN said:

Yes, that would be ideal! I sent you a private message with the link to the cart page 🙂

Thank you so much for all your help to the SquareSpace community!

 

On 6/27/2020 at 7:49 AM, amanda1228 said:

@tuanphan no I haven't. 

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() { 
		$('<button class="sqs-editable-button CheckoutButton-checkoutButton-3yWY2 checkout-button">New button</button>').insertAfter('.CartFooter-checkout-28MW2.checkout');
	});
</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!)

Link to comment

@tuanphan Hi tuanphan! The button doesn't seem to work on my site 😞 Currently, it just says "New button" on the checkout page, and nothing happens when it's clicked 😞 Thank you so much! 

On 6/28/2020 at 4:10 PM, tuanphan said:

 

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() { 
		$('<button class="sqs-editable-button CheckoutButton-checkoutButton-3yWY2 checkout-button">New button</button>').insertAfter('.CartFooter-checkout-28MW2.checkout');
	});
</script>

 

 

Link to comment
On 6/30/2020 at 4:51 PM, SofiaN said:

@tuanphan Hi tuanphan! The button doesn't seem to work on my site 😞 Currently, it just says "New button" on the checkout page, and nothing happens when it's clicked 😞 Thank you so much! 

 

remove above & try this code

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
  $(document).ready(function() { 
		$('<a href="https://google.com" class="sqs-editable-button CheckoutButton-checkoutButton-3yWY2 checkout-button">New button</a>').insertAfter('.CartFooter-checkout-28MW2.checkout');
	});
</script>

replace google.com with your url

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
  • 1 month later...

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.