'id', ); $shop_categories = get_terms( 'product_cat',$args); //print_r($shop_categories); if($shop_categories){ ?>
term_taxonomy_id; if (!empty($shop_categories) && !is_wp_error($shop_categories)): echo ''; foreach ($shop_categories as $shop_categorie) : echo ''; endforeach; endif;?>
'product', 'posts_per_page' => 8, ); $product_loop = new WP_Query( $product_args ); if ($product_loop->have_posts()): $i = 0; while ( $product_loop->have_posts() ) : $product_loop->the_post(); $term_lists = wp_get_post_terms($post->ID, 'product_cat', array("fields" => "all")); $term_id = array(); foreach($term_lists as $term_list){ $term_id[] = $term_list->term_taxonomy_id; } if($shop_categories){ if (in_array($first_shop_cat, $term_id)) { $i = $i + 0.25; } } $term_id = join(' ', $term_id); //print_r($term_lists); global $product; ?>
id );?> post, $product );?>

get_price_html(); ?>