Support » Plugin: Translate Wordpress with GTranslate » Searching for translated products

  • Resolved robertdodd

    (@robertdodd)


    We can’t search for translated products in another language, and I was wondering if anyone can help with an example of a custom “WP_Query” to do so?

    Or, if anyone knows an AJAX search plugin that will be able to search for translated WooCommerce products?

    Someone mentioned the Google Search plugin in another thread, but I’d rather display custom AJAX results to our users.

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author edo888

    (@edo888)

    Hi,

    We do not have support for search functionality. The only option is to use Google plugin or any other approach based on indexing of the translated content.

    If you want to query your database from search phrase entered by user then you have to translate the user input on the fly first and then fire the query. Since you cannot trust the user input and you also cannot guess the user input language this usually does not work well.

    Thanks! 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Searching for translated products’ is closed to new replies.