<table class="shop_attributes">
<?php foreach ( $attributes as $attribute ) : ?>
<tr>
<th><?php echo wc_attribute_label( $attribute->get_name() ); ?></th>
<td><?php echo wc_attribute_label( $attribute->get_site() ); ?></td>
</tr>
<?php endforeach; ?>
</table>