Change the page "Continue Shopping" returns in the Spotlight Theme

Topic summary

A user wants to modify the destination of the “Continue Shopping” button in Shopify’s Spotlight theme cart page.

Initial Problem:

  • User received incorrect guidance (possibly from a chatbot) pointing to a non-existent cart.template.liquid file
  • Attempted solution didn’t work as the referenced code file doesn’t exist

Solution Provided:

  • The correct file to edit is main-cart-items.liquid located in Shopify > Edit Code > Sections
  • Users can change the link on lines 32 and 37 by replacing the URL between quotes with their desired destination (e.g., a default collection page)
  • A screenshot was shared showing the exact location of the code to modify

Outcome:

  • User successfully implemented the change by linking to their default collection
  • Alternative suggestion mentioned: creating an “All” collection, though this would override default collections across the site
  • Issue resolved through direct code editing rather than using apps
Summarized with AI on November 13. AI used: claude-sonnet-4-5-20250929.

I would like to change the page that users are sent to when they click on the 'Continue Shopping" button in the shopping cart in the Spotlight theme.

I found the following:

But when I go into edit the code “cart-template.liquid” does not exist.

Any help appreciated - thank you!

If you got that from the chatbot on the help docs such systems are not to be trusted, they “hallucinate” answers that can be wildly inaccurate.

Regardless for such tutorials you often need to figure out the correct file, do not blindly follow such instructions.

Just look the through the files related to the cart , main-cart.liquid , info-cart.liquid etc etc.

If you need this customization done for you then contact me by email for services.
Contact info in signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.

Hi @tprice1167

This is Richard from PageFly - Shopify Page Builder App

With Spotlight theme, you can change it inside the Shopify > Edit Code > Sections and looks for the file name: main-cart-items.liquid

Then you can change the link here

Hope this can help you solve the issue

Best regards,

Richard | PageFly

1 Like

Thanks so much for the reply! I replaced everything between quotes with a link to my default collection on both line 32 and 37, Appreciate it :+1:

It was that or create a collection called “All” and I guess it overtakes the default all collections in that aspect too; I prefer the code edit though.

Glad that i can help you out