There are two types of users (suppliers and investors). Every investor can create an inquiry (inquiries are post type hidden link) which is visible to all suppliers.
Each supplier should be able to respond to an inquiry made by the investor and offer their offer (offers from suppliers can only be seen by the investor who created the inquiry), responding to the created inquiry is limited in time or number of applications.
How can a supplier create their offer and send it to the investor?
How can I display suppliers' bids for each investor inquiry?
Hi,
Thank you for contacting us and I'd be happy to assist.
To collect individual offers, you can add another custom post type "Offers".
In this post type, you can include custom fields :
- "Related To" field will save the ID of the "Inquiry" post this offer was generated for
- "Sent to" field will save the user ID of the author of the "Inquiry" post this offer was generated for
On the single "inquiry" post page, you can include the new post form to add a new "Offer" post, which suppliers can use to send their offer to the respective investor.
( you'll be able to use the user ID of the author of the "offer" post, to track all the offers from a particular supplier )
As a result, with each offer post, you'll have the information that which user/supplier made this offer (author of the offer post), for which inquiry ("Related To" field) and to which user/investor ("Sent to" field).
I hope this helps and please let me know if you need any further assistance around this.
regards,
Waqar