March 31, 2017 at 3:06 am #55876David ProctorMember
I am working on a website for jobs with geolocation on it. We are using the plugin to do the searches and have setup a taxonomy for salary range : 10,000 – 20,000 etc. The issue is now that they are looking to introduce importing data feeds to the site where they use integers. One field for minimum salary and one for maximum.
What I need the plugin to do is allow me to add a search filter to one of the forms which still on the surface says ‘20,000 – 30,000’ but checks against the two integer fields and brings back the jobs within those price ranges. Here is the site so you can see the form.
Is this possible at all?
On another note we are looking to use WPallimport to pull in these jobs and map them to the appropriate fields. Are we able to map the location to the geo field from their feed or will this not work?
For example they would not do postcodes but in the feed it would just say city names like “London’ or ‘Manchester’ for example.
Many thanks and I look forward to hearing from you.
David.April 4, 2017 at 11:30 pm #55893Eyal FitoussiMember
I apologize for the delayed reply.
1) I believe that what you described is possible if modifying the search query of the plugin. I assume that the Min and Max values will be saved in custom fields?
If so, on form submission it possible to get the value of the taxonomy, split it to min and max and modify the search query to check the min and max custom fields of each job if its in the range of the min and max of the taxonomy.
My question is if the Min and Max values which are saved for each job in the custom fields ( again, I only assume that custom fields will be used ) can be any values, or must be a min-max from the list of taxonomy terms. For example, if I create a job, can I enter the min and max as 28,000 – 37,000 or must it be values that are already set in the taxonomies like 35,000 – 40,000, for example?
Am I making sense?
2) Importing locations using the WP All Import plugin is most likely possible, but will require customization as well. Is it possible to include coordinates, in addition to the city or zipcode, in the file that will be imported?April 4, 2017 at 11:33 pm #55895Eyal FitoussiMemberThis reply has been marked as private.April 5, 2017 at 11:21 pm #55905David ProctorMember
Thank you for coming back to me. With the salary range it would be saved in two custom fields (advanced custom fields). One for the minimum the salary would be, and one for the maximum it would be. At present we have a range set by a taxonomy so it appears in the search form, but the way the import would work means we can’t do this as it needs to go into two custom fields. While WP All Import will import in to these two custom fields, I’m not sure on where to start with adding it to the GEO form. I did think perhaps we could still keep the salary range taxonomy and then compare the min and max fields to the taxonomy to then show the results. Do you have any suggestions on how it could work with your plugin?
With WP All Import this is a sample of what they are looking to import : https://jobadder.com/uk/support/jobs-on-your-website
You will see that the location seems to be just the city (under classifications). I’ve had a quick look to see if when an export runs there are any fields for the geo data but can’t initially see the fields I would map to. I can create a custom field for city to store this information – but would need to be able to synch it with the geo field. Would the plugin work if we just imported the city name?
Many thanks for your help.
You must be logged in to reply to this topic.