• Resolved giubilo

    (@giubilo)


    Hi,
    I have a problem with the pagination of the filterer results.
    I have in left sidebar 3 attributes that I can filter and everything it’s ok.
    The problem is if I click in the next page link because it lost the parameters of my filters.
    If i analize the link href I can see that there aren’t the parameters. (&filter_size= doesn’t appear).
    I think it happens because my pagination box not refresh as the product box, because if I now reload the page i can see the filter correctly.

    How can I do?
    Any ideas?

    https://ww.wp.xz.cn/plugins/yith-woocommerce-ajax-navigation/

Viewing 1 replies (of 1 total)
  • Thread Starter giubilo

    (@giubilo)

    I answer myself…
    I have moved the pagination code in woocommerce page archive-product.php inside the <ul>. In this way every time I do an attribute selection it reloads and everything it’s ok!

    Great Plugin!!!!

    <ul class="products">
    <?php		do_action( 'woocommerce_pagination' ); ?>
    				<?php woocommerce_product_subcategories(); ?>
    				<?php while ( have_posts() ) : the_post(); ?>
    
    					<?php woocommerce_get_template_part( 'content', 'product' ); ?>
    
    				<?php endwhile; // end of the loop. ?>
    <?php		do_action( 'woocommerce_pagination' ); ?>
    			</ul>

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

Viewing 1 replies (of 1 total)

The topic ‘pagination bug’ is closed to new replies.