Collection reference metafield support for Liquid code snippets
8 December 2023
Now you can access properties about a collection through a collection reference metafield. Previously if you access a collection reference through a code snippet:: you would just see the ID of the object, like
With this change you now have access to the collection's ID, title, handle, description, and the date it was published. This works for both collection references and lists of collection references.
Learn more about using Liquid code snippets to edit products in Shopify.