Hi,
On my store (Horizon theme), when a customer empties their cart from the cart drawer, clicking “Continue shopping” redirects to the Collants/Tights collection page instead of the homepage or full catalog.
The cart drawer also displays the “Collants/Tights” collection with all products when empty.
I cannot find any setting in the theme editor to change this URL or the collection displayed in the empty cart drawer.
Questions:
- Where is the “Continue shopping” URL configured for the cart drawer in Horizon?
- How can I change the collection displayed in the empty cart drawer, or remove it entirely? I like remove it because all products will be heavy…
Store: lelongdelajambe.fr Theme: Horizon (latest version)
Thank you, Hervé
Hi @lelongdelajambe Welcome To Shopify Community So In Horizon (and most OS 2.0 themes), the empty cart drawer’s “recommended products” collection is usually pulled from a specific setting inside the Cart Drawer section itself, go to Theme Editor > find the Cart Drawer block in the section list (sometimes nested under a global/theme settings area rather than a page-specific section since it’s a persistent element), and look for a “Collection to show” or “Recommended products” field, that’s most likely where “Collants/Tights” got set, possibly by accident during setup or a previous edit. If it’s not visible in the Theme Editor UI, it’s likely hardcoded in the cart-drawer.liquid snippet as a fallback collection handle, in which case you’d need to check that file directly and either change the collection handle referenced or remove that block entirely from the snippet’s Liquid code. For “Continue shopping,” the same section usually has a “Continue shopping button” or similar link field, if it’s not there either, check for a hardcoded {{ routes.root_url }} vs a manually set collection URL inside that same cart-drawer.liquid file, since a custom URL would need to be replaced with the root/catalog URL directly in the code rather than the theme editor. Hope this helps solve your problem, and if it does, don’t forget to like and mark it as the solution. Thank you!
Hi Hervé,
This isn’t a bug, Horizon ties the empty cart drawer’s collection and the “Continue shopping” link to the same theme-wide setting, which is why both are pointing at Collants/Tights. It’s not inside the Cart Drawer section itself, which is why it’s hard to spot.
Once that setting is cleared (or swapped), both issues should resolve together. Happy to walk you through exactly where it lives and how to handle it if you’re not on the latest Horizon version, since the field’s behavior varies a bit by version just let me know.
Thank you, I redirect to the main page url from the empty cart. And propose a Rare finds collection under the cart page url. Perfectly light solution for my store.
Hervé