Skip to content

Instantly share code, notes, and snippets.

@carolineschnapp
Last active December 22, 2022 21:29
Show Gist options
  • Save carolineschnapp/1002801 to your computer and use it in GitHub Desktop.
Save carolineschnapp/1002801 to your computer and use it in GitHub Desktop.
Related Products — to add to product.liquid
@hyungjoo87
Copy link

Hi Caroline,

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

www.shopskiesareblue.com

Thank you

@max2524
Copy link

max2524 commented Apr 13, 2018

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

@xto3na
Copy link

xto3na commented Dec 13, 2018

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

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

Thanks it works perfect!

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