I have edited the code so the "Continue Shopping" button on the Cart Page reroutes to home page instead of "All Products".
However, when the cart is empty - a message displays "Your cart is currently empty. Continue browsing here - the "HERE" redirects to
"All Products". This also happens with the Click "here" to continue shopping link on the 404 page.
I would like both of these links to route to the homepage, instead of "All Products".
I have located the sections of code to edit for the both pages, but not sure what to replace the "link: routes.all_products_collection_url" section with to have it go to home page.
I have included screenshots.
I am customizing a Simple Theme template - although the Debut theme is currently applied to my site.
Solved! Go to the solution
This is an accepted solution.
Yep that it is.
I don't see any issues why this is not working:
| t: link: "/"
Please double check if you entered it correctly. Your html output should be href="/" which will point you to the homepage. If it's not inspect the href attribute of the link and see where it points to.