Restrict search alerts for vendors

Hi there,

First and foremost thank you for these amazing theme and extensions. While your offering in terms of design and functionality can be enough for most directory websites, there are some aspects that would require customizations to achieve the desired output. In my case, I needed badly a multi step form for the request part. Since I’m not an expert in coding I used AI to develop a custom add-on for HivePress Requests to create a multistep form that’s fully integrated with HivePress architecture. In my custom add-on I use Geolocation (to insert address in my form), HivePress Requests Categories & Subcategories (first in a select field, second radio), HivePress Attributes as Follow-up Questions (check boxes and radio), autogenerated title using a location and subcategory and a short string before, image attachments, input (description field) and a final contact step with first name, last name, email and phone number (user attribute) - all these contact details are automatically filled from settings (profile).

I used HivePress templates option to place my form (shortcode) in the Request template/page.

I developed also a parallel notification system via email which sends basically 3 emails (user, admin & vendor) at every request submit (at submit it also create a post like the native HivePress form). Here I also added an override admin email option in case the site has more than one user with admin rights. In the email template, Inserted the brand identity, title + request autogenerated title, attached image (for multiple attachments, only the first attachment will be on mail) category, subcategory, follow up questions and selected answer, request description, user contact details and a CTA.

My intent is to add a restriction tied to Membership plan for vendors only (let’s say for START plan, vendors will receive only 2 notifications per month, etc) and before starting I want to ask you if there is any HivePress option to achieve that natively. just to be sure I’m not investing time in something which is already there.

Thank you!

Thanks for the kind words, I’m glad HivePress is useful!

Please clarify if you mean restricting email notifications about new requests for vendors, if so then this would require integrating Memberships with Search Alerts. If you already use search alerts, I can provide general dev guidance – let me know.

Hi @ihor,
I’m referring to those email notifications I added after every Request Form submitted. Below is the template (raw version) I use to notify vendors/professionals that a new request has been submitted on the platform.

I know you have a notification system, but I’m not sure I can achieve the same result using HivePress Emails & Events (I keep HivePress native notification system disabled momentarily).

I want to restrict those emails (after a request is submitted) based on membership. Basically, suppose a vendor/professional is on the START membership plan. In that case, he/ she will receive only two email notifications per month, no matter how many requests are submitted during that period. I was curious if you have such a functionality implemented somewhere, and I missed it.

Hi,

Could you please provide more details about what you mean by “notifications I added”? Are you referring to a custom implementation, the “Notify Vendors” option enabled in HivePress Settings > Requests, or notifications from the Search Alerts plugin?

If you have the Memberships plugin and are comfortable working with code, we can provide general guidance on how to check the current membership and which hooks to use.

Hi @kseniia,

It’s a custom implementation. I keep the HivePress option “Notify Vendors” disabled since it does not fit my needs.

I have Membership extension, not very comfortable with code (I used AI to create the custom add-on), but some general guidance on how to check the current membership and which hooks to use is more than welcome.

Please refer to this thread to find a code snippet that allows you to fetch the current membership.

1 Like

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