Solving Common Shopify Woes: Klaviyo Reviews & Cart Redirection Fixes

Hey everyone! It's your friendly Shopify expert here, diving into another real-world discussion from the Shopify Community forums. You know, sometimes it's the little things that trip us up, those seemingly minor code glitches that can really impact your store's user experience and conversion rates. I recently stumbled upon a great thread where a store owner, @lnelson_1, was grappling with two such issues on their Sahara theme store. And guess what? The community stepped up with some really solid, actionable advice. Let's break it down!

Issue 1: Klaviyo Star Reviews Missing from Collection Pages

This is a classic one! @lnelson_1 noticed their Klaviyo star ratings were showing perfectly on individual product pages, but mysteriously vanished from their collection pages. The plot twist? It only happened after they added a sidebar navigation to their collection pages, suggesting a conflict. DeepVyas, another community member, quickly pointed out that a "class is missing, which need to be added," which is a great clue.

But the real hero here was oscprofessional, who provided a super clear, step-by-step solution. It turns out, when you introduce new elements like a sidebar, sometimes the existing code for displaying app snippets (like Klaviyo reviews) gets overlooked or overridden in that new layout context. The fix is to make sure the Klaviyo review snippet is explicitly present in the Liquid file that renders your product cards on collection pages.

How to Display Klaviyo Star Ratings on Collection Pages:

Here’s how you can usually tackle this, based on oscprofessional’s advice:

  1. Access Your Theme Code: From your Shopify admin, go to Online Store > Themes. Find your current theme, click Actions > Edit code.
  2. Locate Your Product Card Snippet: You'll need to find the Liquid file responsible for rendering individual product cards on your collection pages. This is commonly named card-product.liquid or product-grid-item.liquid. It could also be within a section like main-collection-product-grid.liquid, which then calls a snippet.
  3. Insert the Klaviyo Snippet: Once you find the correct file, look for where the product title or price is rendered. You'll want to place the following Klaviyo snippet below one of those elements (or wherever aesthetically makes sense for your stars to appear):
  4. Save and Check: Save your changes and check your collection pages. Your star ratings should now appear!

PaulNewton, another Shopify Partner in the thread, estimated this could take about an hour if there aren't deeper theme conflicts. So, while it sounds straightforward, sometimes theme structure can throw curveballs. Always remember to duplicate your theme before making any code changes!

Issue 2: Customizing the "Continue Shopping" Button Link

This is a fantastic UX improvement! By default, when a customer clicks the "Continue shopping" button in their cart, Shopify often sends them back to the generic /collections/all page. But what if you want them to go to a specific collection, a "New Arrivals" page, or even a blog post? @lnelson_1 wanted exactly this, and had tried changing the code unsuccessfully.

DeepVyas confirmed this is totally doable, and oscprofessional once again came through with the precise code snippet to look for. This kind of small tweak can really guide your customers' journey and boost their engagement on your site.

How to Change the "Continue Shopping" Button Link:

Here’s the simple process:

  1. Access Your Theme Code: Again, head to Online Store > Themes > Actions > Edit code.
  2. Search for the Link Reference: In the theme editor, use the search bar (usually at the top left) to search for:
    routes.all_products_collection_url

    This string is a common Liquid reference to the default "all products" collection URL.

  3. Replace with Your Desired URL: Once you find it, replace that entire string with the specific URL you want your customers to go to. Make sure it's a relative URL (starts with a slash) if it's within your Shopify store. For example, if you want them to go to your "Best Sellers" collection, you'd change it to:
    /collections/best-sellers

    Or, for a specific product category:

    /collections/womens-apparel

    You could even link it to a specific page or blog post if that makes sense for your customer flow.

  4. Save and Test: Save your changes, add an item to your cart, and click "Continue shopping" to ensure it directs to your new desired page.

PaulNewton mentioned this is a "pretty fast" fix, and indeed it often is! It's a great example of how a small code change can have a big impact on your customer journey.

Wrapping Up

What I love about threads like this is how they highlight the power of the Shopify community. You've got store owners asking for help, and experienced developers and partners jumping in with specific, actionable solutions. It's a testament to the collaborative spirit that makes the Shopify ecosystem so vibrant.

For these kinds of fixes, especially when they involve modifying theme code, remember a few golden rules: always back up your theme first by duplicating it, be precise with your code edits, and if you're ever unsure, don't hesitate to reach out to a Shopify Partner or developer. While some issues like these are straightforward with the right guidance, others might be symptoms of deeper theme or app integration complexities, as PaulNewton wisely pointed out. But with the right approach, you can keep your Shopify store running smoothly and looking sharp!

Share:

Use cases

Explore use cases

Agencies, store owners, enterprise — find the migration path that fits.

Explore use cases