Allow vendors to view their personal requests

I would like guidance on how to make it possible for vendors to have a requests button in their profile so that all of their personal requests that they receive can be accessed through their profile instead of only being able to access the request via URL. This poses issues if they do not see or receive the email they will never know that they got a request for their services. I reached out to hive press support and they informed me that a hivepress developer can provide guidance on how to code this to make it possible. Any help would be greatly appreciated. Thank you.

Hi,

Sorry for the delay.

If you have a developer or you’re familiar with code customizations, you can create a custom template for the user account page as described here Create a custom HivePress extension | Developer Docs or via any other way (even with plain PHP and adding the template file to the child theme). To query requests created personally for the vendor, you can query posts of “hp_request” type (requests are implemented as a custom post type). If the request is personal, it has the vendor ID in the “post_parent” field of the post.

Hope this helps

I found the fields in phpmyadmin. After I am done tomorrow I will post the code snippet here if all goes well.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.