'product', 'posts_per_page' => $boutique_designer_shop_count_catData, 'product_cat' => $boutique_designer_shop_catData, 'order' => 'ASC', // Default order ); // Adjust ordering based on user selection if ($boutique_designer_shop_product_order == 'descending') { $boutique_designer_shop_args['order'] = 'DESC'; } else if ($boutique_designer_shop_product_order == 'a-to-z') { $boutique_designer_shop_args['orderby'] = 'title'; $boutique_designer_shop_args['order'] = 'ASC'; } else if ($boutique_designer_shop_product_order == 'z-to-a') { $boutique_designer_shop_args['orderby'] = 'title'; $boutique_designer_shop_args['order'] = 'DESC'; } $loop = new WP_Query( $boutique_designer_shop_args ); while ( $loop->have_posts() ) : $loop->the_post(); global $product; ?>
post->ID )) echo get_the_post_thumbnail($loop->post->ID, ''); else echo ''; ?>
is_type( 'simple' ) ) { woocommerce_template_loop_add_to_cart( $loop->post, $product );} ?>

get_price_html()); ?>
>