global $paged;
$temp = $wp_query;
$wp_query = null;
$wp_query = new WP_Query( array(\'post_type\' => \'product\',\'posts_per_page\' => 10, \'paged\' => $paged ) ); ?>
<?php while (have_posts()) : the_post();
/* Your product content data here */
<?php
endwhile;
wp_reset_query();
?>
<?php echo paginate_links( $args ) ?>
<?php
global $wp_query;
$big = 999999999; // need an unlikely integer
echo paginate_links( array(
\'base\' => str_replace( $big, \'%#%\', esc_url( get_pagenum_link( $big ) ) ),
\'format\' => \'?paged=%#%\',
\'current\' => max( 1, get_query_var(\'paged\') ),
\'total\' => $wp_query->max_num_pages,
\'prev_text\' => __(\'Previous\'),
\'next_text\' => __(\'Next\')
) );
?>
i think this will solve ur problem. if u face any problem let me know