Skip Navigation

[Resolved] Relationship between many products and many suppliers

This support ticket is created 5 years, 9 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.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 1 reply, has 2 voices.

Last updated by Christian Cox 5 years, 9 months ago.

Assisted by: Christian Cox.

Author
Posts
#1224041

We ave a toolset relationship between many products and many suppliers, but we need to be able to link a supplier more than once. Right not this is not possible; once you connect a supplier, it will not show up again on the list of available suppliers.

#1224065

Hi, are you saying you want to be able to relate Supplier A and Product A more than once (non-distinct many-to-many), or you want to be able to relate Supplier A to Product A and also to Product B?

Non-distinct many-to-many relationships are not currently possible, so you cannot associate Supplier A to Product A more than once. One alternative is to use a third post type as an intermediary, and then create one-to-many (O2M) post relationships between Suppliers [0-1] > Intermediary [*], and Products [0-1] > Intermediary [*]. This is essentially how many-to-many relationships were managed before Types 3.