Collection Reference

Overview

The collection reference Custom Field stores one or more references to collections, and prints a link to the collection by default.

With customizations, you can reference a collection and show attributes from the collection to create features like a gallery of collections. Our tutorial on Creating a Related Products Section could be used as a starting point. 

Tip: See also, Basic Field Settings.

Default Display

  Finish.png

Field Creation Form 

CollRef1.png

Tip: Collection Reference is under the Reference drop-down. Checking "Allow Multiple Selections" allows users to reference more than one collection in the content entry form.

Default Liquid Template

The Edit Code section allows a user to edit how a field prints or functions. The default code for this type of field is found below. 

CollRef2.png

For more information about code customization and the code editor itself, visit our Guide to the Snippet Editor.

Content Entry Form

CollRef3.png

Additional Resources & Documentation

Shopify: Liquid Template Language Documentation

Shopify: Collections Documentation

Custom Fields: Working With Collections

Custom Fields: Creating a Related Products Section

Custom Fields: Theming Examples & Tutorials