Adding a field to Contact form

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hace 10 años
Hello all! I have a site I'm putting together with nopCommerce 3.1, and I'm trying to figure out how to have it send an email via a form thats in the footer of the template.  All I want the form to do is send it to a specific email address I specify and that's all.  No database updates. Nothing like that.  Would I just be able to use razor syntax in the footer.cshtml page to get this done you think?  That would be the easiest way to do it.  Thanks in advance!
Hace 10 años
Bumping post.
Hace 10 años
Ajax post back and handle from backend?
Hace 10 años
Doesn't even have to be Ajax... can just have a Form that posts to custom controller method
Hace 10 años
I was actually hoping to not have to mess with the controller code.
Hace 9 años
fredbear7232 wrote:
I was actually hoping to not have to mess with the controller code.


Sooner or later you will :)
but the idea it to remain consistent when you do it which is recommended to be done using plugins.
Hace 4 años
Hi,

In your case, I think I have to use the contact form plugin to not have to edit to the database. You can refer to this Plugin

https://www.nopcommerce.com/p/1713/dynamic-form-nopcommerce-plugin-contact-form-nopcommerce.aspx

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