Custom form in listing page

Hello!

I’m trying to make a modification on the listing page, but I’m a bit lost…

The situation is the following: on the listing page, I need to insert a form in the vendor block so that the user can request more information about the listing.

The default form doesn’t work for me because I need the user to be able to request information without registering. Additionally, this form should contain the vendor’s identifier as well as the identifier of the listing it is in.

This is because, when not registered, the form’s content should be sent directly to the vendor’s email, also indicating the listing in which the user is interested.

Here is an example of functionality: https://solocampamentos.com/campamentos/fuente-del-roble

Can you suggest where I can start?

Thank you!

1 Like

Hi,

Unfortunately, there’s no such feature, it would require an advanced custom implementation. 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 https://fvrr.co/32e7LvY

Perfect, I will continue researching, and when I find the way, I will share it on the forum, as it seems like a quite interesting option. Thank you very much for your quickly response, and congratulations on your work.

1 Like

Hello again, I think I’m finding the way to the customization I was looking for, but several doubts arise:

Is it possible to modify the files class-vendor-view-block.php and vendor-name.php from the child theme? In that case, what would be the correct path where the new file should be.

Thank you.

Hi,

Yes, it’s possible, please check the sample in this doc How to override template parts - HivePress Help Center

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