• Resolved webactor

    (@webactor)


    Hi there
    Supar plugin

    But how come that not all “tag” search results are showing when i click “Show all”

    In my generel settings i have
    – tag
    – content
    – excerpt

    As active sources

    ___________________

    Ex.

    1. When i search – there is 14 products – all tagged with “system”
    2. When i clik on “Show all” (bottom of the search field)
    3. Only 5 products are showing – All products are tagged “system”

    Cheers
    Kimo

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author ILLID

    (@mihail-barinov)

    Hello,

    It is strange. Can you please give me the link where I can find working search form? And also please tell me example of search query that you have problem with.

    Regards

    Thread Starter webactor

    (@webactor)

    Hi there – Thanks – Sure
    Have a look at : https://www.jasaco.dk/

    Ex. Search query ( in Danish ?? “d?rstopper”
    It shows all the products where it says “d?rstopper” in search form
    But when i press “Show all” (Danish) “Se alle resultater” it only shows 5 products

    I have the same issue with a lot of other search querys

    Cheers
    Kimo

    Thread Starter webactor

    (@webactor)

    Hey ILLID (@mihail-barinov)

    Could you find any solution

    Cheers
    Kimo

    Plugin Author ILLID

    (@mihail-barinov)

    Hello,

    Sorry for the long response.

    As I see looks like your search page shows the results for standard search, not AWS search results.
    Can you please tell me the name of the theme that you are using? Also – do you use any plugins that somehow can effect on search results page?

    Regards

    Thread Starter webactor

    (@webactor)

    Hi there – No sweat

    The theme is: https://themeforest.net/item/electro-electronics-store-woocommerce-theme/15720624

    I most definitely have some plugins that have effect on AWS ??

    But what i dont understand is how it finds all (14 products) when i search.
    But only shows some (5 products) when i clik “Show all”

    I looks like AWS finds all products that have the search query im looking for.
    But when i clik “Show all” – it onlue shows products that have that search query
    as a title.

    I could try deactivating some of the plugins to see if that would make any change.

    /Kim

    Plugin Author ILLID

    (@mihail-barinov)

    I test your theme and looks like the problem is not in it.
    So can you please tell me the list of your active plugins that can affect on search results page?

    Thread Starter webactor

    (@webactor)

    Hi there

    Woow – i dont know exactly which that have affect on AWS
    But ill have to try to deactivate some of them, to see if it changes the outcome
    Ill keep you informed

    The Electro WordPress theme has a product search function
    But wuold you suggest that we use “Seamless integration” ?

    Thank you for the supar quick reply

    Cheers
    /Kimo

    Plugin Author ILLID

    (@mihail-barinov)

    No matter do you use “Seamless integration” option or now.
    If you open search results page and inside its URL you see ‘&type_aws=true’ than it is plugin search results. AWS plugin doesn’t creates its own search results page layout. Plugin just add its search results to the existing layout of your theme. And it is possible that some other plugin breaks this behavior.

    Regards

    Thread Starter webactor

    (@webactor)

    Hi there
    Think i found the plugin thats crating the trouble:
    https://barn2.co.uk/wordpress-plugins/woocommerce-product-table/

    When i deactivate this plugin – it shows all the search query results when i click.
    “Show all”
    Ill try to send my question to them – see if thay can explain the conflict.

    Cheers
    /Kimo

    Plugin Author ILLID

    (@mihail-barinov)

    Hello,

    Looks like I found the solution for you.
    Please use following code snippet

    add_filter( 'wc_product_table_data_config', 'my_wc_product_table_data_config' );
    add_filter( 'aws_posts_per_page', 'my_wc_product_table_posts_per_page' );
    
    public function my_wc_product_table_data_config( $config ) {
        if ( isset( $_GET['type_aws'] ) && isset( $config['search'] ) ) {
            $config['search']['search'] = '';
        }
        return $config;
    }
    
    public function my_wc_product_table_posts_per_page( $num ) {
        if ( isset( $_GET['type_aws'] ) ) {
            return 9999;
        }
        return $num;
    }

    Also on Monday I release new plugin version where will include all this changes.

    Thread Starter webactor

    (@webactor)

    Hi ILLID
    Wuub Wuub – Your the best

    Thanks for the reply
    Does the code above goes into function file?

    Once again – Thanks

    Cheers
    /Kimo

    Plugin Author ILLID

    (@mihail-barinov)

    Yes, you can add it to functions.php file.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘not all “tag” search results are showing when i click “Show all”’ is closed to new replies.