In my order management module, I want to include a discussion thread for each of my orders. Each discussion thread would involve comments and queries specific to this order from all the users and the comments could be of any type - Text, Video, Photo or more… much like a slack thread or so. Users should be able to reply to the others comments or images etc. much like what we are doing here.
This is what I have planned. Help me with your suggestions and advice -
- Have a separate table COMMENTS which would have fields like - Comment, Order ID, User ID, Comment Type, Replied to .
- Display the comments as Inline View . Not sure if its the best way out.
- Set the notification for each comment entered.
But the main problem is the TYPE of the comment. How do I set the type of the comment field ? It could be anything - a text, long text, video, photo or just anything. Any other way out ?