This is the code in the theme’s woocommerce/content-product.php that display <figcaption>
I can see that this product’s display type is “gallery”. Why is that?? Where is this setting???
<div><?php echo $product_display_type; ?></div>
<?php if ($product_display_type != “standard”) { ?>
<figcaption>
<div class=”thumb-info”>
<?php do_action( ‘woocommerce_before_shop_loop_item_title’ ); ?>
<h4><?php the_title(); ?></h4>
<?php
$size = sizeof( get_the_terms( $post->ID, ‘product_cat’ ) );
echo $product->get_categories( ‘, ‘, ‘<h5 class=”posted_in”>’, ‘</h5>’ );
?>
<?php if ( class_exists( ‘Woocommerce_German_Market’ ) ) { ?>
<div class=”gm-hover-price-wrap”>
<?php
/**
* woocommerce_after_shop_loop_item_title hook
*
* @hooked woocommerce_template_loop_price – 10
*/
do_action( ‘woocommerce_after_shop_loop_item_title’ );
?>
</div>
<?php } else { ?>
<h6><?php woocommerce_template_loop_price(); ?></h6>
<?php } ?>
</div>
</figcaption>