Add a 'Back' or 'Continue shopping' link to your cart page

If you want your customers to be able to go "back" or "continue shopping" from your cart page, you will need to add in a link.

  1. From your Shopify admin, click Online Store, and then click Themes (or press G W T).

  2. Find the theme you want to edit, click the ... button, and then click Edit HTML/CSS.

  3. Under the Templates folder, locate and click on cart.liquid to open it in the online code editor.

  4. There are at two ways this link can work:

In the online code editor, paste the following code, before or after the checkout button.

<a href="/collections/all" title="Browse our Catalog">Continue Shopping</a>

Save your changes.

In the online code editor, paste the following code, before or after the checkout button.


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

Save your changes.

Want to discuss this page?

Visit the Shopify Community