Support » Plugin: Advanced Woo Search » Search in all languages

  • Resolved vykintas

    (@vykintas)


    Hello,
    I wonder if a PRO version has an option to search for products in ALL availabe languages, not just in active one? I have different products for languages and I need to search through them all despite active user language.
    Thank you in advance!

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

    (@mihail-barinov)

    Hello,

    It is possible for both plugin version.
    Just use following code snippet

    add_filter('aws_search_query_array', 'my_aws_search_query_array');
    function my_aws_search_query_array( $query ) {
        $query['lang'] = '';
        return $query;
    }

    Thank you! It worked!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.