Skip to content

Instantly share code, notes, and snippets.

@carolineschnapp
Last active December 5, 2025 08:53
Show Gist options
  • Select an option

  • Save carolineschnapp/1002801 to your computer and use it in GitHub Desktop.

Select an option

Save carolineschnapp/1002801 to your computer and use it in GitHub Desktop.
Related Products — to add to product.liquid
@hyungjoo87

Copy link
Copy Markdown

Hi Caroline,

I was wondering if this would work with the current theme I have?

www.shopskiesareblue.com

Thank you

@max2524

max2524 commented Apr 13, 2018

Copy link
Copy Markdown

work for booklyn theme in my site https://www.malldallas.com/products/2018-new-women-cat-eye-sunglasses
. thank you for your code

@xto3na

xto3na commented Dec 13, 2018

Copy link
Copy Markdown

Hello, Caroline!
Thank You! All works for me.
But in your code(line 109: "<h2 class="section-header__title">{{ heading }}</h1>"), opening tag - h2, closing tag - h1.

@smitsanghvi21

Copy link
Copy Markdown

How do I recommend products just for a particular collection? For example my site has collections tv, mobile ,etc. But I want to recommend similar products just in mobile collections and not recommend products in other collections. How do I do this?

@luismanuelvivas

Copy link
Copy Markdown

Thanks it works perfect!

@Ana3010Hankia

Copy link
Copy Markdown

Hi I need help, my dawn and other themes related products block stop working even with a brand new theme, I have no Idea what to do, does anyone have an idea what to do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment