Streaming live at 10am (PST)

Use different Schema based on Collection fields

Hi folks,

Been stumped on this for the last couple of hours so wondered if anyone could help.

I’m trying to add Breadcrumb Schema to one of my collection items.

The idea is to show google that even though the URL structure of the site is

Home > Collection > Collection Item

…The website is actually structured more like this:

Home > Category > Sub-Category > Collection Item

I can do this fine, because each Collection Item has a Reference Field where I select the Category or SubCategory. It’s all good…

THE PROBLEM

The challenge comes in here because not all of my Collection Items have a Subcategory.

So the normal schema doesn’t work, because one of the breadcrumbs is blank.

I’ve tried using IF logic within the

Any ideas people? Would love some assistance! :pray:


Here is my public share link: Webflow - YesHomebuyers.com

Right… looks like Webflow has cut off about 2/3rds of my message. I’m assuming you can’t see the explainer of what I’m trying to do or my example code :man_facepalming: :man_facepalming:

Need a break before rewriting it :man_facepalming: