Hi jamesG-3,
Could you describe more details for the question?
Are we talking about this case:
posts 1
–terms under products taxonomy: Brand a, Brand b
posts 2
– none terms under products taxonomy
You are going to display as this:
posts 1, brands: Brand a, Brand b
posts 2, brands: