-
[insert_php]
-
[insert_php] the_title(); [/insert_php]
[insert_php] echo $product->get_price_html(); [/insert_php]
[insert_php] woocommerce_template_loop_add_to_cart( $loop->post, $product ); [/insert_php]
$args = array( ‘post_type’ => ‘product’, ‘posts_per_page’ => 10, ‘product_cat’ => ‘akcesoria’, ‘orderby’ => ‘rand’ );
$loop = new WP_Query( $args );
while ( $loop->have_posts() ) : $loop->the_post(); global $product; [/insert_php]
Produkty
[insert_php] endwhile; [/insert_php]
[insert_php] wp_reset_query(); [/insert_php]