get_id(), 'product_cat' );
if ( ! empty( $terms ) ) {
echo '
';
foreach ( $terms as $_term ) {
$term_link = get_term_link( $_term );
if ( ! $term_link || is_wp_error( $term_link ) ) {
continue;
}
echo '- ' . esc_html( $_term->name ) . '
';
}
echo '
';
}
?>
get_price_html() ); ?>
get_average_rating() ) ) : ?>
get_average_rating() ); //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
echo sprintf('(%d)', esc_html( $product->get_rating_count() ) );
?>