Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search gives results in 2 languages
- This topic has 16 replies, 2 voices, and was last updated 11 years, 3 months ago by
Ernest Marcinko.
-
AuthorPosts
-
February 24, 2015 at 5:37 pm #4015
igerards
ParticipantI am using WPML, but I am getting search results from both languages.
Here’s a test:
http://www.toko4all.nl/zoekmachine-test/Try typing ‘pancit’ as a search.
-
This topic was modified 11 years, 3 months ago by
igerards.
February 24, 2015 at 5:45 pm #4017Ernest Marcinko
KeymasterHi!
Could you please edit your initial post or upload a txt file with the login details. I just discovered a malfunction with the private fields, and the details are not saved upon opening the ticket. Sorry about that. I will do a quick debugging on your site then, it’s probably a minor issue.
February 24, 2015 at 5:51 pm #4023igerards
ParticipantWill others not be able to download that txt file?
February 24, 2015 at 5:53 pm #4024Ernest Marcinko
KeymasterNope. The private detail fields and the file attachments are only visible for me (admin) and the owner of the thread (you).
February 24, 2015 at 6:12 pm #4028igerards
ParticipantAlright. Attached a txt.
February 24, 2015 at 7:10 pm #4034Ernest Marcinko
KeymasterHi!
I think I have found the problem. The translation table was matching other content types (like comments) with the products and it included it as a product. Anyways, I’ve made a quick fix on the code, it should show only the proper elements with the language.
I will include this bugfix to the next update so you won’t loose the changes if updating the plugin.
February 24, 2015 at 7:42 pm #4035igerards
ParticipantThanks!
February 25, 2015 at 9:08 am #4041igerards
ParticipantI noticed a big issue with this plugin. WooCommerce stops working correctly. I’m guessing it’s a javascript conflict because all jquery functions stop working when this plugin is activated.
– I tried opening a different topic for this, but when I try to verify my purchase code it says it’s already in use? –
February 25, 2015 at 11:21 am #4044Ernest Marcinko
KeymasterIt should not ask for your product once it’s verified, I’ll check on that.
You can ask the question here, no need for another topic 😉
February 26, 2015 at 1:22 pm #4065igerards
ParticipantWell, could you please check what’s wrong with the plugin when using WooCommerce? WooCommerce’s Ajax functions break when the search plugin is activated.
February 26, 2015 at 1:37 pm #4066Ernest Marcinko
KeymasterOf course.
Could you please tell me where/what to test?
February 26, 2015 at 7:43 pm #4083igerards
ParticipantI found the issue.
I have put a test environment in place over here: http://www.igerards.com/test
1. Please login there with the same login provided in the .txt
2. Then put this product in the cart: http://igerards.com/test/?product=test-product
3. Go to the cart (click the link under Done shopping? in the header)
4. Click proceed to checkout
5. You will find a box with this text: Have a coupon? Click here to enter your codeIf you click ‘click here to enter your code’, a box should appear so you can enter a code. However, if Ajax Search Pro is activated, this ajax function will not work.
The conflict is between Ajax Search Pro and the plugin WooCommerce Advanced Ajax Layered Navigation.
Hoping you can check it out and make Ajax Search Pro work in harmony with the layered navigation plugin.
February 26, 2015 at 8:11 pm #4084Ernest Marcinko
KeymasterHi!
I can’t log in, it requests htpassword before I can reach wp-login.php.
However I think I can see the problem right now. Some minification plugin minifies all the scripts before the jQuery scopes are loaded to the page. Since the plugin scripts are loaded earlier then the jQuery it naturally throws an exception and halts every script afterwards.
jQuery needs to be loaded before everything else, or more plugins will fail as well. Moreover I do not recommend minification of the search plugin javascript files, because most of them are minified already, and calls like eval() cannot be properly minified by an external application. If not minfication is enabled only concatenation, the script loading order must be respected, as many scripts are dependent on each other.
I rather recommend W3TC caching plugins minification. It works 80% of the time, which is far better than any minification plugins on the market. But you need to prepared for massive testing. It took me 3 days to figure out the proper script order and exceptions on this site for minification.
February 26, 2015 at 8:12 pm #4085igerards
ParticipantThis problem occurs without the minifying plugin as well.
You can log in, if you read the htpassword window, it tells you what the username and password should be. (Password is result of the math equation)
February 26, 2015 at 8:26 pm #4086Ernest Marcinko
Keymaster -
This topic was modified 11 years, 3 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.