#[1]gnikyt feed [2]gnikyt Code ramblings. all_products... finally /* Jun 24, 2015 — 844B */ [3]Shopify has finally implemented a global variable for accessing products. Shopify has [4]global variables for many things like Collections, Linklists, pages, etc, so you can do things such as access a collection by its handle collections.my-cool-toys.products. However, it always lacked the ability to look up products by their handle until now. There’s no documentation yet for the new variable but as the Github comment states, simply use all_products['handle-here'] [5]MD | [6]TXT | [7]CC-4.0 This post is 9 years old and may contain outdated information. __________________________________________________________________ [8]Ty King Ty King A self-taught, seasoned, and versatile developer from Newfoundland. Crafting innovative solutions with care and expertise. See more [9]about me. [10]Github [11]LinkedIn [12]CV [13]RSS * * * * * * * * * * References Visible links: 1. /rss.xml 2. / 3. https://github.com/Shopify/liquid/issues/438#issuecomment-108981467 4. https://docs.shopify.com/themes/liquid-documentation/objects 5. /all-products-shopify/index.md 6. /all-products-shopify/index.txt 7. https://creativecommons.org/licenses/by/4.0/ 8. /about 9. /about 10. https://github.com/gnikyt 11. https://linkedin.com/in/gnikyt 12. /assets/files/cv.pdf 13. /rss.xml Hidden links: 15. localhost/tmp/lynxXXXXloclMQ/L770031-9434TMP.html#cb1-1