Отображать нужно в цикле. Wordpress, Woocommerce На картинке снизу вывод в цикле стандартным файлом плагина content-product.php:
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
global $product;
if ( empty( $product ) || ! $product->is_visible() ) {
return;
}
?><!--
<li <?php post_class(); ?>>
<span class="nxowoo-box"> -->
<?php
do_action( 'woocommerce_before_shop_loop_item' );
?>
<tr>
<td class="product_table">
<a href="<?php the_permalink() ?>" >
<img src="<?php echo get_the_post_thumbnail_url(); ?>" alt="" style="max-width: 95px;">
</a>
</td>
<td class="product_table"><a href="<?php the_permalink() ?>" ><?php the_title(); ?></a></td>
<td class="product_table wider-cell2"><?php do_action( 'woocommerce_after_shop_loop_item_title' ); ?></td>
<td class="product-table wider-cell"><?php do_action( 'woocommerce_after_shop_loop_item' ); ?></td>
</tr>