Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter rippergr

    (@rippergr)

    I update the plugin today to version 3.4.0 but the rpoblem still persists.
    Is any from yith looking at the support forum?

    Plugin Author YITHEMES

    (@yithemes)

    Hi @rippergr,

    please, look this post in our Help Center: Ajax Product filter – Attributes are no longer hierarchical than version 3.0.x of WooCommerce

    In latest WC version seems that attribute doesn’t support hierarchy, too. Probably your issue are related to this.

    Please, can you try this solution ? Thanks.

    I look forward to hearing back from you
    YITH

    Thread Starter rippergr

    (@rippergr)

    I put the code to functions.php but I still have the same problem.
    I tried another plugin that uses the attributes as filters and it’s working fine.
    I want to use your plugin becasue it is much better that all I have tried.
    I pretty am sure that the problem is with woocommerce 3 because it was working fine a few weeks ago. I just didn’t noticed when actually stoped working

    Plugin Author YITHEMES

    (@yithemes)

    Hi, probably you have an issue with non-Latin character on your website.
    For this, please can you try to add this snippet of php code at the end of file functions,.php located in main root of your theme ?
    Thanks:

    if( function_exists('YITH_WCAN') ){
        add_filter('yit_in_array_ignore_case', '__return_true');
        add_filter( 'yith_wcan_term_param_uri', 'yith_wcan_term_param_uri' );
    
        if( ! function_exists( 'yith_wcan_term_param_uri' ) ){
            function yith_wcan_term_param_uri( $term ){
                $regex = "@^[a-zA-Z0-9%+-_]*$@";
                $is_url_encoded = preg_match( $regex, $term);
    
                if( $is_url_encoded ){
                    $term = urldecode($term);
                }
                return $term;
            }
        }
    }

    Let me know if works fine.
    Have a nice day
    YITH

    Thread Starter rippergr

    (@rippergr)

    I pute the code on functions.php but I still have the same problem.
    This problem is even if there are latin characters not ony on greek letter filters.

    Plugin Author YITHEMES

    (@yithemes)

    Hi,

    please send me a link of your shop page and let me know how I can replicate the issue (step by step)

    It’s not easy for me understand what is the issue but I can try ??

    YITH

    Thread Starter rippergr

    (@rippergr)

    You can go to
    https://www.comworld.gr/κατ?στημα/
    and press any of the filters on the left.
    You will see that when you press one of the filters (even if there are latins) all of the filters are dissapearing and the only way to bring them back is to go back or press the category again.

    Thread Starter rippergr

    (@rippergr)

    I think I found the problem but I don’t know how to fix it.
    It is indeed a problem about non-latin characters but it’s the base name of the shop. Mine is κατ?στημα, in another page that I tried with base name shop it is working fine.
    It doesnt recognise the greek characters on category of woocommerce.
    I hope I help so that you can fix the problem.

    Plugin Author YITHEMES

    (@yithemes)

    Thanks for this reporting. I ask to our developer to plain a test for this. ù

    Have a nice day
    YITH

    Thread Starter rippergr

    (@rippergr)

    With the latest update it seems that everything is working fine.
    I think the issue is fixed.
    Thanks

    Plugin Author YITHEMES

    (@yithemes)

    ok, I’m Happy for this ??

    Have a nice day
    YITH

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Problem with ajax filter (dissapearing filters,no results)’ is closed to new replies.