Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search shows other language with WPML on
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 6 years, 4 months ago.
- AuthorPosts
- July 27, 2017 at 1:46 pm #14000
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=0When I search for “Chakki” it only shows me the Dutch versions, which is correct.
https://www.dropbox.com/s/mddt3rggmiqhl8b/searching1.jpg?dl=0Any idea?
July 28, 2017 at 12:14 pm #14016Hi!
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.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
July 28, 2017 at 4:38 pm #14025And thank you for the awesome fix! Works great.
Thanks again for the great support.
Sander
July 28, 2017 at 4:39 pm #14026You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.