This is beyond stupid on my part… offcourse nothing works if you don’t assign the product to the brand. Rose your code worked perfectly! And Olga i didn’t know you could enable the brands in the theme options. Those two solutions are enough.
Sorry for the inconvenience