Jump to content
bk-1530585905

Affiliate relationship

Recommended Posts

So far, so good.  Another question.

I'm looking at creating several categories, some will be charitable associations, some businesses, some products (devices/tools), some people that specialize in something, and another for medical treatments or pharmaceuticals.

I'd like to have many to many relationships between them.  For example, a doctor can be affiliated with a few of the associations or businesses and specialize with certain tools/devices and doing clinical trials with certain pharmaceuticals.  Each of those items should be able to refer to any of the other listings they are affiliated with.

Can this relationship be done with custom fields?  Or do you have a way to tie the information together?

Share this post


Link to post

You can create relationships using a common field across multiple listings and also by the related listing custom field. There's more on this in the documentation.

https://docs.jreviews.com/?title=Listings_Relations

https://docs.jreviews.com/?title=Listing_Detail_Page_Widgets

What you cannot have are indirect relations. So if a doctor X is related to listing A, and listing A is related to listing B, then doctor X is not automatically related to listing B.

On the demo site, we use a related listing custom field for venues in events and we display events in venues and the venue in the event.

 

Share this post


Link to post

That's awesome that its there.  I didn't see it in the documentation.

Say I have hospitals that have many doctors.  Some doctors are affiliated with multiple hospitals.  Can a doctor be child of multiple hospitals?

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Please refer to our Privacy Policy.