Fixed it myself.
Added this in my template file:
$lcp_display_output .= '<h4>' . $this->get_cat_name($single) . '</h4>';
And created a new function in CatListDisplayer.php:
private function get_cat_name($single){
$catName = get_cat_name($this->catlist->get_category_id());
return $catName;
}
Hope I can help someone else with it.
I also want to change the position of the Woocommerce messages. For example, the message you get when someone adds a product to its cart.
I want to position this div below the ‘Add to cart’-button.
Thanks in advance!