I try to level the products in another way. I want to put a row “br /” under the picture of the simple products on the categories page. Have two types of products in the shop, simple and with variations. Products with variations have a row with filters, simples products do not. I’m trying with this code:
add_action( ‘woocommerce_shop_loop_item_title’, ‘shop_loop_item_title’, 9 );
function shop_loop_item_title($_product) {
foreach ( $order->get_items() as $item ) {
$product = $item->get_product();
if( $product->is_type(‘simple’) ){
echo “<div>
<h1><br /></h1>
</div>”;
} else {
// is not simple
}
//////////////////////////////////////
Can you help me with solution how to complete the code or a solution to align the products.