Streaming live at 10am (PST)

Hide a Business Category CMS Item if no Businesses Reference it

Hey Webflow Community,

I have two separate CMS Collections at play here: a Business category CMS and Business CMS.


On the homepage and Business category page I have this list of Business categories but I am wondering if there is a way to hide categories that don’t have any businesses in them. In other words, Business categories that have not been referenced by any Businesses.

This would be great because then users won’t be brought to empty categories.

If anyone has any ideas to a possible solution, it would be greatly appreciated!

Thanks,

Cris


Here is my public share link: https://preview.webflow.com/preview/shop-local-cornwall?utm_medium=preview_link&utm_source=designer&utm_content=shop-local-cornwall&preview=ce71950dad70c620ff30547e2adda9c2&workflow=preview