I'am trying to build an Amazon-like review system. So, I have two custom posts, Companies and Reviews with a many to many relationship.
Reviews have a radio custom field (1 to 5) in order to get the review value.
After a Company completes a service an email is sent to the customer to review the service quality. This email contains a link to the reviews page with some parameters. One of them is the companyid.
Then I need to create a form that shows the radio options and a hidden field for the companyid.
Thank you for getting in touch. Companies and Reviews with a many to many relationship.
Not sure why you would want the Companies and Reviews to be in a Many to Many relationship when a Review can only be tied to one company. Multiple companies wouldn't have the same review.