As per what I understood from your question, you want two things –
Listing of all publisher
Listing of all books of a particular publisher.
Here is code for both.
Listing of all publisher
$terms = get_terms( 'pa_publisher' );
echo '<ul>';
foreach ($terms as $each_term) {
echo '<li>'.$each_term->name.'</li>';
}
echo '</ul>';
Listing of all books of a particular publisher
$args = array(
'posts_per_page' => -1,
'post_type' => 'product',
'post_status' => 'publish',
'tax_query' => array(
array(
'taxonomy' => 'pa_publisher',
'field' => 'slug',
'terms' => 'matt' // name of publisher
)
)
);
$products = get_posts( $args );
echo '<ul>';
foreach($products as $each_product) {
echo '<li><a href="'.$each_product->guid.'" >'.$each_product->post_title.'</a></li>';
}
echo '</ul>';
Hope this helps. Let me know if you need something else.