name;
$term_id = $term->term_id;
$term_slug = $term->slug;
$desc = $term->description;
$category_link = get_term_link( $term );
$thumb_id = get_term_meta( $term_id, 'thumbnail_id', true );
$term_img = wp_get_attachment_image( $thumb_id, 'maxstore-home-top' );
?>
'product',
'posts_per_page' => 3,
'product_cat' => $term_slug,
'tax_query' => array(
array(
'taxonomy' => 'product_visibility',
'field' => 'name',
'terms' => 'exclude-from-catalog',
'operator' => 'NOT IN',
),
),
);
$loop = new WP_Query( $args );
while ( $loop->have_posts() ) : $loop->the_post();
global $product;
?>
-
post->ID ) ) {
echo get_the_post_thumbnail( $loop->post->ID, 'maxstore-home-top' );
} else {
echo '
';
}
?>
get_price_html(); ?>