All updates

Enhancement

CMS

Filter collection lists by multi-reference fields on template pages

Now you can filter collection lists by multi-reference fields, making it easier to create related posts based on multiple attributes like tags and categories.

Filter collection lists by multi-reference fields on template pages

Today we’re releasing an update that lets you sort collection lists on template pages by multi-reference fields. What’s that mean in English, you might ask? Well, let’s look at an example together.

Now you can display related products that have any of the same categories as the product you’re viewing.

Say you have a product collection with a multi-reference field for assigning “categories” to each product. And now let’s say you’re designing the template page for those products, and at the bottom of the page, you want to display a list of related products that have any of the same tags as the post you’re currently viewing.

Filter the collection list to display products that have any of the same categories as the current post.

With today’s change, that’s easy. Simply drop a collection list on your template page, and filter the list to products whose “categories” contain “Any Categories of Current Product.”

Some other examples of where this update might come in handy:

  • Related blog posts: Display blog posts that have the same tags as the post you’re viewing
  • Category/tag pages: Display all items of a given tag/category on a tag/category template page

It might sound simple, but before today, these examples weren’t possible. In the past, you could only filter these lists by single-reference fields, which made a tag style category system less flexible when it came to displaying related content on template pages.

Today we’re releasing an update that lets you sort collection lists on template pages by multi-reference fields. What’s that mean in English, you might ask? Well, let’s look at an example together.

Now you can display related products that have any of the same categories as the product you’re viewing.

Say you have a product collection with a multi-reference field for assigning “categories” to each product. And now let’s say you’re designing the template page for those products, and at the bottom of the page, you want to display a list of related products that have any of the same tags as the post you’re currently viewing.

Filter the collection list to display products that have any of the same categories as the current post.

With today’s change, that’s easy. Simply drop a collection list on your template page, and filter the list to products whose “categories” contain “Any Categories of Current Product.”

Some other examples of where this update might come in handy:

  • Related blog posts: Display blog posts that have the same tags as the post you’re viewing
  • Category/tag pages: Display all items of a given tag/category on a tag/category template page

It might sound simple, but before today, these examples weren’t possible. In the past, you could only filter these lists by single-reference fields, which made a tag style category system less flexible when it came to displaying related content on template pages.


Launched on
May 23, 2019
Category
CMS

Related updates

Introducing the next-gen Webflow CMS

Introducing the next-gen Webflow CMS

Learn more
Expanded on-canvas editing

Expanded on-canvas editing

Learn more
CMS auto-save

CMS auto-save

Learn more
CMS Collection list updates

CMS Collection list updates

Learn more
Comment directly on dynamic CMS content in Webflow

Comment directly on dynamic CMS content in Webflow

Learn more
Use existing assets for OG images

Use existing assets for OG images

Learn more

Get started for free

Try Webflow for as long as you like with our free Starter plan. Purchase a paid Site plan to publish, host, and unlock additional features.

Try Webflow for as long as you like with our free Starter plan. Purchase a paid Site plan to publish, host, and unlock additional features.

Get started — it’s free
Watch demo

Try Webflow for as long as you like with our free Starter plan. Purchase a paid Site plan to publish, host, and unlock additional features.

Try Webflow for as long as you like with our free Starter plan. Purchase a paid Site plan to publish, host, and unlock additional features.