Last active
October 18, 2022 23:23
-
-
Save zakhardage/9a84bee3a398d8aeb44a to your computer and use it in GitHub Desktop.
On line 29
{{ article_img | img_tag }}
should be
{{ article_img }}
On line 36
fisherYates(products);
should be
fisherYates(articles);
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Zach,
I found this gist after google "shopify related articles". I tried using this script, and it appeared to be pulling the correct articles within the script tags. However, nothing was outputted into the html. Is there something simple that I'm failing to notice, do I need to add some liquid to output the js into html? Thanks for your time!