Create a page listing offers for requests can select an offer from there

Hello HivePress Community,

I need to develop the following features.
Please let me know your good ideas.

  1. Creating an offer list page:
  • When an offer is received in response to a request, I want to create a list page for only those offers.
  1. Multiple selection function:
  • Add a function that allows a user who makes a request on the offer list page to select multiple applicants at once. The selection process should be intuitive and they should be able to easily select multiple candidates and move on to the next step.

Hi,

  1. Offers are stored as comments of “hp_offer” type, you can query them using our Models API or on WordPress-level using get_comments function. Offers are stored in “wp_comments” database table. This way you can create a new template, query and show offers there, pagination and other features would require more customizations though.

  2. This one would be more complex because currently the offer is “selected” via the payment, there’s basically a redirect to checkout and if the newly created order is paid, it switches request to Private status and only the author of the offer (vendor) and the request author (customer) can view this request until the order is completed. Selecting multiple offers would require implementing a new way to detect the offer as “selected”, probably by storing a custom flag value (e.g. custom comment meta field) for each offer.

Hope this helps

1 Like

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