Hi, found the solution with Category Import Reloaded plugin.
Now is there a way to limit the number of categories levels appearing on Search?
Screenshot: http://prntscr.com/rbqar7
To something like the site I try replacing: http://prntscr.com/rbqe0n
If I import all makes and models, the search list is going to be massive and very very lengthy. Not counting Real Estate, jobs, services etc..
Thanks
Now is there a way to limit the number of categories levels appearing on Search?
It is not possible for now, but we can give you a filter hook for that.
If I import all makes and models, the search list is going to be massive and very very lengthy
This is a bit confusing to us, would you please explain us a little more.
Thanks for your answer. What I was trying to say is that if I cannot limit the level number of categories, sub1, sub2 in the main search, the list users will see will be too long. E.g with Volvo only: http://prntscr.com/rc4mjq
As you can see, Volvo is the 2904 entry, so the very long list.
What I want to achieve is:
Cat: Vehicles
Sub1: Cars
Sub2: sedans
coupes
4X4
etc.. in Home page search. Like this: http://prntscr.com/rc4rxk
Then when user has made the choice of sedans, the other search in sidebar is going to refine what is available in term of makes: http://prntscr.com/rc4t4c
And if the choice is Dodge, user sees only Dodge Coupes available: http://prntscr.com/rc4vj6
Same for Fuel type, Gearbox type… which I’ll set as custom fields to be filled by sellers on “submit your listing” page.
So yes and thank you for the hook code that will limit the main search to 3 levels, the other variables should be taken care of with different search widgets depending of category page (another plugin to find).
Where do I enter the hook in functions.php? http://prntscr.com/rc59yk
Thanks a lot.