Adding a "continue shopping" button in Minimal Theme

New Member
10 0 0

Apparently it's a 2 step process,  and I am no coder...can't find any docs in support and chat couldn't help either.

 Can I get some help on how to do this? I am hoping to have the site up by this weekend.Thank you in advance!

0 Likes
Highlighted
Shopify Staff (Retired)
Shopify Staff (Retired)
298 0 156

Hey there!

We actually do have a doc for adding in a button like that: https://docs.shopify.com/manual/configuration/store-customization/page-specific/cart-page/add-a-back...

Here's how you can set that up.

1. Head to Online Store > Themes > Customize Theme, then click Edit HTML and CSS. This takes you to all the coding pages for your store.

2. In this tutorial, we're looking for the Cart code, so open up cart.liquid to check that out. You have the option to send customers either to the main Catalog (all of your products) or the most recent Collection they viewed. Choose whichever code you prefer.

3. To show it before the checkout button, paste it to line 74. To paste it after the checkout button, paste it to line 77.

If you need any help, just give me a shout!

0 Likes
New Member
10 0 0

This is what I had tried..but it just shows us text/link.

How do I make it a button? like i have for checkout and update?

 

0 Likes
Shopify Staff (Retired)
Shopify Staff (Retired)
298 0 156

I added in class="btn" to your link choice to make it a button. It now looks like this:

<a href="{{ cart.items.first.product.collections.first.url }}" 
title="Continue Shopping" class="btn">Continue Shopping</a>

You should be good to go for your weekend launch!

0 Likes
New Member
10 0 0

Thank you!!! Appreciate it!

0 Likes
Astronaut
1925 0 380

.

0 Likes