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 gid://shopify/Collection/1234567890.

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.

To Changelog

Subscribe to our Newsletter

Sign up to receive our monthly roundup of ecommerce news, interviews and product updates