This support ticket is created 2 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I would like to add one small feature in my search engine that I also mentioned in my last ticket. It is stated below:
Place the first model in the list, after you select brand because our users get lost after selecting a brand and they see "results not found"/ hidden link
I'm also attaching a screenshot for reference.
teddypardo.com
P.S: The user is already created and credentials are shared in my last ticket.
The way the relationship filter works, the results are are only shown, when a value has been selected in all the relationship fields.
This means that the visitors will only start seeing results, once they've selected a "Brand" and "Model". I've added some conditional display blocks in the view's "Loop Editor" so that when a visitor selects "Brand", message to select "Model" is shown and when both have been selected only then the result's heading and section is shown:
Thank you so much for this!
The thing is, in our case, many brands have just one single model, so instead of asking the user to select a single model, is it possible to show him any model and save the extra time and clicks ?
Thanks again, Yair
To automatically select the first available option in the "Models" field, when a "Brand" is selected, you can include the following script in the "JS editor" under the view's "Search and Pagination" section:
Note: The custom code examples from our forum are shared to get you started in the right direction. You're welcome to adjust them as needed and for more personalized customization assistance, you can consider hiring a professional from our list of recommended contractors: https://toolset.com/contractors/
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.