Insert a custom form into the Not Found message

If a potential buyer visits my website and searches for a listing in a specific location and that location has no listing available, how can I possible put a contact form on that specific page that asks the potential buyer to put in their email so that the platform can find a vendor in that area and contact the “potential buyer”? See photo


It’s possible, but also requires a code snippet to insert custom content with a condition if there are no listings. If changes beyond the available functionality are required, please consider hiring someone via Fiverr, or you can describe the required changes here and we’ll estimate the implementation.

hi @ihor can you please provide me with such a code snippet?


Sorry for the inconvenience, but customization is beyond our support scope - it includes fixing bugs and guidance about the available features Support Policy | HivePress

If customizations are required for your site, please try customizing it using the collection of code snippets Search · user:hivepress · GitHub and other developer resources, or consider hiring someone for custom work

Alternatively, you can send your proposal via this link, and we will estimate the implementation Request a Quote

Fair enough. Can you kindly provide any overall guidance on how to achieve this? I intend to hire a developer or do it myself. Thanks

Yes, this may be possible if you use the hivepress/v1/templates/listings_view_page hook, then you can use some conditions to add/remove or replace specific templates blocks. Please check examples here Search · user:hivepress hivepress/v1/templates · GitHub

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