Support » Plugin: YITH WooCommerce Ajax Product Filter » The page doesn’t update after clicking on a filter

  • Plugin Author YITHEMES

    (@yithemes)


    The issue could be related to the fact you are using a non-standard template for a WooCommerce shop page. To solve it, you should ask to the theme’s author to use WooCommerce standard HTML classes.
    As an alternative, you can use this piece of code in the functions.php file of your theme:

    Please note: From Version 3.0.0 you don’t need to use this snippet in functions.php but you find a set of options in YITH > Ajax Product Filter > Frontend settings page

    if( ! function_exists( 'yith_wcan_frontend_classes' ) ){
    	 function yith_wcan_frontend_classes(){
    	  return array(
    	            'container'    => 'YOUR_SHOP_CONTAINER',
    	            'pagination'   => 'YOUR_PAGINATION_CONTAINER',
    	            'result_count' => 'YOUR_RESULT_COUNT_CONTAINER'
    
    	        );
    	 }
    }
    
    add_filter( 'yith_wcan_ajax_frontend_classes', 'yith_wcan_frontend_classes' );

    If you don’t know which classes you should use, ask to the developer of your theme.

    https://wordpress.org/plugins/yith-woocommerce-ajax-navigation/

    • This topic was modified 1 week ago by Marius L. J.. Reason: Add reference to new method on request of plugin authors
Viewing 5 replies - 31 through 35 (of 35 total)
  • Hello,

    The Ajax Product Filter works in my site that can return specific products, but the

    <nav class=”woocommerce-breadcrumb”> == $0 </nav>

    and

    <h1 class=”page-title”></h1>

    will not change, Please would you advise how that navigation and also the (category) title will update once I click the words in the filter?
    Many thanks
    Crea

    Plugin Author YITHEMES

    (@yithemes)

    Hi,

    I need a link to shop page of your website to check for correct frontend settings.
    Please, can you write me the url of shop page ?
    Have a nice day
    YITH

    Hello,

    First: I like your plugin very much it suits my site needs very well!
    Second: It suddenly stopped working correctly on vantage theme almost 2 weeks ago, I’ve been waiting for updates to fix the problem but after two updates no results – it still not working on the !main page! of the shop (http://le-motif.com/shop/) any other page – perfect (like category page), but the main page of the shop – changes the code (the link) but don’t changes the result.

    Would mind to to help me?
    Thank you a lot!
    Samir

    Hi,

    When i click the checkbox, the page isn’t working.
    This is my shop: http://organik.vn/shop/

    Thanks.

    We are trying to use the filter. With OR filtering does work, however on filtering the formatting breaks. Then, when I refresh page, formatting is fine.

    Or, it does not seem to actually filter (when using default classes)

    Please advise of the fix

    Thanks

Viewing 5 replies - 31 through 35 (of 35 total)
  • The topic ‘The page doesn’t update after clicking on a filter’ is closed to new replies.