That's why I said above about it. It is not easy. And will be better if you create new ticket with the request.
That's why I said above about it. It is not easy. And will be better if you create new ticket with the request.
Viktor,
Flynax technical department,
Best wishes.
I confirm, it works.
You should definitely find mentioned block and replace it with correct one. if you can not find the block, try to do like below.
The changes are bold.
Find:
Replace to:Code:Only registered members can view the code.
Note to autocomplete and Autocomplete with small and capital letter.Code:Only registered members can view the code.
Add below line after above line.
change uk to other country iso code if you like.Code:Only registered members can view the code.
Find:
Replace to:Code:Only registered members can view the code.
Code:Only registered members can view the code.
EDIT: you can use below code for more than one country
Code:Only registered members can view the code.
Hello Godwin Agbavor,
I opened your lib.js file and I see this line:
but if you read my above answers: (http://forum.flynax.com/showthread.p...ll=1#post20429)Code:Only registered members can view the code.
I explained about it. Please read it again.
Let me know if my answer not clear for you.
Viktor,
Flynax technical department,
Best wishes.
Ok i just found out that this solution worked for me only in the search by distance side bar, when i try in the home page header search it still shows me the results from other countries.
any idea ??
Last edited by Samir Fakirane; November 22, 2017 at 08:35 PM.
I have to do the same thing i want to restrict for 1 country the search bar. I went to that file lib.js and tried my best to change the code for 1 country but it didnt work then i removed all the code for which you are showing above. Search bar still working. Kindly tell me the path of that code where from search bar getting all countries data. Thanks
Hello...I am also facing the same problem, i want to restrict country in the search bat but it doesn't happen. Please help