Tell us what you are trying to do?
I'm using toolset view as a search tool, based on one to many relationships.
Is it possible to change it so I get two to many, which means every search has two results instead of one?
Is there any documentation that you are following?
No
Is there a similar example that we can see?
No
What is the link to your site?
hidden link
Hi there,
I am not sure if I understand you correctly. If you mean the relationship feature that Toolset has, you can have many to many relationships:
https://toolset.com/course-lesson/many-to-many-post-relationships/
The views represent what you set in Posts so I am not sure what you mean by two to many.
If you give us more detailed info and what you want to achieve we might be able to help.
Thanks.
Hi
Thank you for your reply.
This is how we have it set up today:
- We use taxonomies called "brands" , "models" and "products".
- Each "Brand-mini" connects to several "Models-mini" (one Brand to many Models).
- Each "Model-mini" connects to a single Product (one Product to many Models).
- we created a view, called "Mini-Lookup" which has two drop-down menus - first you need to choose from a list of "Brand-mini", then you choose from a list of "Models-mini". As a result, you get a single product, which is a direct match for the brand-model combination.
What I'm looking to do:
- Change the relationship, and enable each Model to connect to several Products, as a many to many relationship), as a result, once you choose a Brand and Model from the drop-down, you get several product options to choose from, not just one.
I tried to change the relationship structure to Many-to-Many, however, I can still connect only one Product and not several.
Hope this clarifies.
Thanks,
Hi there,
I think I understand now. I am not sure if it is possible, but I can try.
I'd appreciate it if you could give me the URL/User/Pass of your WordPress dashboard after you make sure that you have a backup of your website.
It is absolutely important that you give us a guarantee that you have a backup so if something happens you will have a point of restore.
Make sure you set the next reply as private.
Also please give me the URL of the view to check and the filter that you used there.
Thanks.
Hi there,
Sorry for my late reply. The first thing that I checked was the product <> model relationship which was still one to many.
You can change that to many to many by going to Toolset > Relationship.
But please consider that you might lose the already created connection as the nature of the relationship changes.
But even if you do that the problem is that you will want to use a filter that has now more than one ancestor and it is not possible to find the so-called siblings of an ancestor using filters.
This will need custom implementation which is outside of our support scope.
You can consider hiring a developer to do so:
https://toolset.com/contractors/
Thanks.