This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Search shows other language with WPML on

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #14000
    SanderSander
    Participant

    The search box is said to be 100% compatible with WPML but when I try to search for example on “Bowl” it shows me the results for the other 2 languages as well.
    https://www.dropbox.com/s/ge2sb8yuu9hb5vs/searching2.jpg?dl=0

    When I search for “Chakki” it only shows me the Dutch versions, which is correct.
    https://www.dropbox.com/s/mddt3rggmiqhl8b/searching1.jpg?dl=0

    Any idea?

    #14016
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    Thank you for the proper log-in and FTP information, I needed both in this case to solve this issue.

    The problem was related to how product variation translations are stored. It might have changed recently after of the new woocommerce release, as the variation translations are not stored (instead the product translation is used obviously), but the search was trying to find their translated versions, due to an error in it’s code.

    I have made a correction in the plugin code, so if a variation is detected, then the parent product translation is checked instead. Now it should return the correct items.

    I will make sure to include this fix in the upcoming release, so you won’t have to worry about it after an update.

    #14025
    SanderSander
    Participant

    And thank you for the awesome fix! Works great.

    Thanks again for the great support.

    Sander

    #14026
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

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